Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2911 - 2920 of 2,976 for throwIt (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            try {
                return createKuromojiItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
                throw e;
            }
        }
    
        /**
         * Create a kuromoji item.
         * @param action The action.
         * @param form The create form.
         * @param hook The error hook.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        }
                        return table.cellSet();
                      }
    
                      @Override
                      Table<String, Integer, Character> createTable() {
                        throw new UnsupportedOperationException();
                      }
                    })
                .named("ArrayTable.cellSet")
                .withFeatures(
                    CollectionSize.ONE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameTest.java

            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        void constructor_withConfigOnly_shouldInitializeFields() throws Exception {
            Name name = new Name(mockConfig);
    
            Field configField = Name.class.getDeclaredField("config");
            configField.setAccessible(true);
            assertSame(mockConfig, configField.get(name));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertFailsWith<IOException> {
          out.writeUtf8("square")
          out.flush()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("stream was reset: CANCEL")
        }
        // Close throws because buffered data wasn't flushed.
        assertFailsWith<IOException> {
          out.close()
        }
        assertThat(connection.openStreamCount()).isEqualTo(0)
    
        // Verify the peer received what was expected.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      public void testParentChild() {
        InternetDomainName origin = InternetDomainName.from("foo.com");
        InternetDomainName parent = origin.parent();
        assertEquals("com", parent.toString());
    
        // These would throw an exception if leniency were not preserved during parent() and child()
        // calls.
        InternetDomainName child = parent.child(LOTS_OF_DELTAS);
        InternetDomainName unused = child.child(LOTS_OF_DELTAS);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

                Referral ref = new Referral();
                RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> ref.decode(testBuffer, 0, testBuffer.length),
                        "Should have thrown exception for version " + version);
    
                assertTrue(exception.getMessage().contains("Version " + version + " referral not supported"),
                        "Exception message should contain version");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
            if (logger.isDebugEnabled()) {
                logger.debug("availableSearcherNameSet={}", availableSearcherNameSet);
            }
        }
    
        @Override
        @PreDestroy
        public void close() throws Exception {
            if (executorService != null) {
                try {
                    executorService.shutdown();
                    executorService.awaitTermination(60, TimeUnit.SECONDS);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/bigger-applications.md

    * and from it, import the function `get_token_header`.
    
    That would refer to some package above `app/`, with its own file `__init__.py`, etc. But we don't have that. So, that would throw an error in our example. 🚨
    
    But now you know how it works, so you can use relative imports in your own apps no matter how complex they are. 🤓
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                Arrays.fill(shortFileId, (byte) 0xAB);
                request.setFileId(shortFileId);
    
                byte[] buffer = new byte[256];
    
                // Should handle gracefully or throw appropriate exception
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle all parameters at maximum")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. docs/en/docs/python-types.md

    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top