Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_exceptionChaining (0.07 sec)

  1. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            ContainerNotAvailableException exception3 = new ContainerNotAvailableException("anotherComponent");
            assertNull(exception3.getComponentName());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Root cause");
            RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(stackTraceOutput.contains("IOException"));
            assertTrue(stackTraceOutput.contains("IO error"));
        }
    
        /**
         * Test exception chaining
         */
        public void test_exceptionChaining() {
            Exception level3 = new IllegalArgumentException("Level 3 - Root cause");
            Exception level2 = new IllegalStateException("Level 2", level3);
            Exception level1 = new IOException("Level 1", level2);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        @DisplayName("Should support exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new IllegalStateException("Root error");
            RuntimeCIFSException intermediateCause = new RuntimeCIFSException("Intermediate", rootCause);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top