Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2971 - 2980 of 3,044 for throws (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        val address = canonicalizeInetAddress(inetAddressByteArray)
        if (address.size == 16) return inet6AddressToAscii(address)
        if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address.
        throw AssertionError("Invalid IPv6 address: '$host'")
      }
    
      val result = idnToAscii(host) ?: return null
      if (result.isEmpty()) return null
      if (result.containsInvalidHostnameAsciiCodes()) return null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. README.md

    ```
    
    ### Exception Handling
    ```java
    import org.codelibs.core.exception.*;
    
    // Runtime exception wrappers eliminate try-catch boilerplate
    try {
        // Code that might throw checked exceptions
        return ClassUtil.newInstance(className); // Wraps checked exceptions automatically
    } catch (ClassNotFoundRuntimeException e) {
        // Handle the wrapped exception
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 0); // tflags high bytes
    
                // Invalid referral version
                bb.putShort((short) 99); // unsupported version
    
                // Should throw exception for unsupported version
                assertThrows(Exception.class, () -> {
                    buffer.decode(testBuffer, 0, testBuffer.length);
                });
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            try {
                return createCharMappingItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
                throw e;
            }
        }
    
        /**
         * Create a char mapping item.
         * @param action The action.
         * @param form The create form.
         * @param hook The error hook.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

        }
    
        @Test
        public void test_encodeUrl_empty_and_null() {
            assertEquals("", DocumentUtil.encodeUrl(""));
            try {
                DocumentUtil.encodeUrl(null);
                fail("Should throw NullPointerException");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        @Test
        public void test_encodeUrl_unicode() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            transaction.setDataCount(0xFFFFFFFF);
            transaction.setDataOffset(0xFFFFFFFF);
            transaction.setSetupCount(0xFF);
    
            // Execute the method - should not throw exception
            assertDoesNotThrow(() -> transaction.writeParameterWordsWireFormat(dst, 0));
        }
    
        @Test
        @DisplayName("Test multiple setup count handling")
        void testMultipleSetupCount() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        private int crc1 = 0;
        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
          if (finished) {
            throw new IllegalStateException(
                "The behavior of calling any method after calling hash() is undefined.");
          }
          while (bb.remaining() >= 16) {
            crc0 = computeForWord(crc0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 21.2K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/relatedquery/admin_relatedquery_edit.jsp

                                            <la:textarea styleId="queries" property="queries" styleClass="form-control"
                                                         rows="5"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Table.java

     * will change the table.
     *
     * <p>All methods that modify the table are optional, and the views returned by the table may or may
     * not be modifiable. When modification isn't supported, those methods will throw an {@link
     * UnsupportedOperationException}.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableTable}
     *   <li>{@link HashBasedTable}
     *   <li>{@link TreeBasedTable}
     *   <li>{@link ArrayTable}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

                    suggestHelper.deleteAllElevateWord(false);
                    suggestHelper.storeAllElevateWords(false);
                } catch (final Exception e) {
                    throw new FessSystemException("Failed to import elevate word data: fileName=" + form.elevateWordFile.getFileName(), e);
                }
            });
            saveInfo(messages -> messages.addSuccessUploadElevateWord(GLOBAL));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top