Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

                assertTrue(e instanceof FessUserNotFoundException);
            } catch (Exception e) {
                fail("Should have caught as FessSystemException");
            }
        }
    
        public void test_exceptionChaining() {
            // Test that the exception can be used in exception chaining
            String username = "testuser";
            FessUserNotFoundException originalException = new FessUserNotFoundException(username);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertNull(exception.getCause());
    
            // Stack trace should be empty
            assertEquals(0, exception.getStackTrace().length);
        }
    
        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
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            SsoProcessException exception = new SsoProcessException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Network timeout");
            Exception middleCause = new Exception("SSO provider unreachable", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlExceptionTest.java

                // Field doesn't exist
            }
            assertTrue("CurlException should have serialVersionUID field", hasSerialVersionUID);
        }
    
        @Test
        public void testExceptionChaining() {
            IOException rootCause = new IOException("Root cause");
            RuntimeException intermediateCause = new RuntimeException("Intermediate", rootCause);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top