Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3631 - 3640 of 3,747 for throwIf (0.06 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. CHANGELOG.md

    
    ## Version 5.2.1
    
    _2025-10-09_
    
     *  Fix: Don't crash when calling `Socket.shutdownOutput()` or `shutdownInput()` on an `SSLSocket`
        on Android API 21 through 23. This method throws an `UnsupportedOperationException`, so we now
        catch that and close the underlying stream instead.
    
     *  Upgrade: [Okio 3.16.1][okio_3_16_1].
    
    
    ## Version 5.2.0
    
    _2025-10-07_
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  5. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals(12, read);
            assertEquals(0x1234, packet.nameTrnId);
            assertEquals(1, packet.questionCount);
        }
    
        @Test
        void testToString() throws UnknownHostException {
            packet.nameTrnId = 1;
            packet.isResponse = true;
            packet.opCode = NameServicePacket.QUERY;
            packet.isAuthAnswer = true;
            packet.isTruncated = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K 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. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertThat(generator.generateFresh(Currency.class)).isNotNull();
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
      }
    
      public void testNulls() throws Exception {
        new ClassSanityTester()
            .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls"))
            .testNulls(FreshValueGenerator.class);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K 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. 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)
  10. cmd/signature-v4.go

    	if errCode != ErrNone {
    		return errCode
    	}
    
    	cred, _, s3Err := checkKeyValid(r, signV4Values.Credential.accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract date, if not present throw error.
    	var date string
    	if date = req.Header.Get(xhttp.AmzDate); date == "" {
    		if date = r.Header.Get(xhttp.Date); date == "" {
    			return ErrMissingDateHeader
    		}
    	}
    
    	// Parse date header.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
Back to Top