Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,812 for rethrow (1.18 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        // We may have been asked to cancel while creating the new stream and sending the request
        // headers, but there was still no stream to close.
        if (canceled) {
          stream!!.closeLater(ErrorCode.CANCEL)
          throw IOException("Canceled")
        }
        stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
        stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        public void test_hook_normalExecution() {
            // Create a mock FwAssistantDirector
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // Should not throw any exception during normal execution
            curtainFinallyHook.hook(assistantDirector);
    
            // Verify that the method completes without errors
            assertTrue(true); // Method completed successfully
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            jobExecutor.shutdown();
            assertTrue(shutdownCalled.get());
        }
    
        public void test_shutdown_withoutListener() {
            // Test shutdown without listener should throw NullPointerException
            try {
                jobExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test that it can be caught specifically
            assertThrows(RuntimeCIFSException.class, () -> {
                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test exception handling behavior
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * @throws IllegalArgumentException if name or queryCommand is null
         */
        public void add(final String name, final QueryCommand queryCommand) {
            if (name == null || queryCommand == null) {
                throw new IllegalArgumentException("name or queryCommand is null.");
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", name);
            }
            queryCommandMap.put(name, queryCommand);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

            try {
                this.next = open();
                if (this.next == null) {
                    doClose();
                }
            } catch (final Exception e) {
                doClose();
                throw e;
            }
    
        }
    
        /**
         * Gets the SMB tree handle for this iterator.
         *
         * @return the treeHandle
         */
        public final SmbTreeHandleImpl getTreeHandle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource);
    
            managed.close();
            assertTrue(resource.isClosed());
    
            // Second close should not throw
            assertDoesNotThrow(managed::close);
        }
    
        @Test
        @DisplayName("Test null resource registration throws exception")
        void testNullResourceRegistration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                    logger.debug("{} occurs.", e.getClass().getName(), e);
                    throw e;
                } catch (final Exception e) {
                    if (retryCount > maxRetryCount) {
                        throw e;
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to invoke actionGet. count:{}", retryCount, e);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullMissingWhenNullUnsupported("contains(null) should return false or throw");
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initCollectionWithNullElement();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullValueMissingWhenNullValuesUnsupported(
            "containsValue(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testContains_nonNullWhenNullContained() {
        initMapWithNullValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top