Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for test_throwAndCatchWithCause (0.35 sec)

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

                exceptionCaught = true;
                assertEquals(expectedMessage, e.getMessage());
            }
    
            assertTrue(exceptionCaught);
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "Job execution failed with error";
            Throwable expectedCause = new NullPointerException("NPE occurred");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            } catch (PluginException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching PluginException with cause
            String expectedMessage = "Plugin configuration error";
            Throwable expectedCause = new IllegalStateException("Invalid state");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught DataStoreException specifically");
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            final String errorMessage = "Data store write error";
            final Exception cause = new RuntimeException("IO error");
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            } catch (SearchEngineClientException e) {
                assertEquals(message, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String message = "Throw and catch with cause test";
            Throwable cause = new RuntimeException("Original error");
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught LdapOperationException");
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "LDAP connection error";
            Exception expectedCause = new IOException("Network unreachable");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ThemeException, but caught: " + e.getClass());
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching exception with cause
            String expectedMessage = "Theme validation failed";
            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
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "System error occurred";
            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
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            } catch (SsoProcessException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "SAML assertion validation failed";
            Exception expectedCause = new IllegalStateException("Invalid SAML response");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top