Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,174 for Exception (0.04 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            executor.shutdown();
    
            // Then - No unexpected exceptions
            assertTrue(exceptions.isEmpty(), "No unexpected exceptions should occur");
        }
    
        /**
         * Test that CopyOnWriteArrayList prevents ConcurrentModificationException.
         */
        @Test
        public void testNoConcurrentModificationException() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against the input's exception. "The input's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
       *     different kind of exception, that exception itself. To avoid hiding bugs and other
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClusterException.java

      final Collection<? extends Throwable> exceptions;
    
      private ClusterException(Collection<? extends Throwable> exceptions) {
        super(
            exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.",
            exceptions.iterator().next());
        ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions);
        this.exceptions = Collections.unmodifiableCollection(temp);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

             * @param request the request data
             * @param exceptionList the list of exceptions that occurred during retries
             */
            void onRequestEnd(FaultTolerantClient client, RequestData request, List<Exception> exceptionList);
    
            /**
             * Called when an exception occurs during a request attempt.
             *
             * @param client the fault-tolerant client
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Root cause exception", exception.getCause().getMessage());
        }
    
        public void test_constructorWithNullMessage() {
            // Test constructor with null message
            GsaConfigException exception = new GsaConfigException(null);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            } catch (Exception e) {
                fail("Should not throw exception: " + e.getMessage());
            }
        }
    
        public void test_sendMail_withEmptyInfoMap() {
            Map<String, String> infoMap = new HashMap<>();
    
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
                fail("Should not throw exception with empty map: " + e.getMessage());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            @DisplayName("Should handle deeply nested exceptions")
            void testToStringWithNestedExceptions() {
                Exception innermost = new IOException("Innermost exception");
                Exception middle = new RuntimeException("Middle exception", innermost);
                Exception rootCause = new IllegalStateException("Outer exception", middle);
                TransportException exception = new TransportException("Transport failed", rootCause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Try to execute - should be blocked with CIFSException
            CIFSException exception = assertThrows(CIFSException.class, () -> {
                circuitBreaker.executeWithCircuitBreaker(() -> "should not execute");
            }, "Circuit breaker should throw CIFSException when open");
    
            assertTrue(exception.getMessage().contains("Circuit breaker 'test' is open"), "Exception message should indicate circuit is open");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(middleCause, exception.getCause());
            assertEquals("Middle cause", exception.getCause().getMessage());
            assertNotNull(exception.getCause().getCause());
            assertEquals(rootCause, exception.getCause().getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
            // Test that the exception has serialVersionUID defined
            JobNotFoundException exception = new JobNotFoundException("test");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top