Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_differentCauseTypes (0.18 sec)

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

            String message = "Storage error: \n\t\r\"'<>&";
            StorageException exception = new StorageException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_differentCauseTypes() {
            // Test with different types of causes
            StorageException exception1 = new StorageException("IO Error", new java.io.IOException("File not found"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            GsaConfigException exception = new GsaConfigException(longMessage);
    
            assertNotNull(exception);
            assertEquals(longMessage, exception.getMessage());
        }
    
        public void test_differentCauseTypes() {
            // Test with different types of cause exceptions
    
            // Test with IOException
            Throwable ioCause = new java.io.IOException("IO error");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top