Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_throwAndCatchExceptionWithCause (2.07 sec)

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

            } catch (StorageException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchExceptionWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "Storage write error";
            Exception expectedCause = new IllegalStateException("Invalid state");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top