Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3701 - 3710 of 3,804 for throws (0.15 seconds)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/chat/ChatClient.java

                throw e;
            } catch (final Exception e) {
                logger.warn("[RAG] Unexpected error during enhanced chat. sessionId={}, error={}, elapsedTime={}ms", session.getSessionId(),
                        e.getMessage(), System.currentTimeMillis() - startTime, e);
                callback.onError("unknown", LlmException.ERROR_UNKNOWN);
                throw e;
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K 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. docs/en/docs/tutorial/body-updates.md

    `PATCH` is less commonly used and known than `PUT`.
    
    And many teams use only `PUT`, even for partial updates.
    
    You are **free** to use them however you want, **FastAPI** doesn't impose any restrictions.
    
    But this guide shows you, more or less, how they are intended to be used.
    
    ///
    
    ### Using Pydantic's `exclude_unset` parameter { #using-pydantics-exclude-unset-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.gradleInstallPath: Provider<String>
        get() = gradleProperty(GRADLE_INSTALL_PATH).orElse(
            provider<String> {
                throw RuntimeException("You can't install without setting the $GRADLE_INSTALL_PATH property.")
            }
        )
    
    
    val Project.rerunAllTests: Provider<Boolean>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 05:13:29 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top