Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_throwAndCatchAsFessSystemException (0.41 sec)

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

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught LdapConfigurationException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent exception type
            String errorMessage = "LDAP bind DN is invalid";
    
            try {
                throw new LdapConfigurationException(errorMessage);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            } catch (UnsupportedSearchException e) {
                assertEquals(expectedMessage, e.getMessage());
                assertNotNull(e.getStackTrace());
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent exception type
            String expectedMessage = "Parent catch test";
    
            try {
                throw new UnsupportedSearchException(expectedMessage);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ScriptEngineException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class
            String message = "Parent class catch test";
    
            try {
                throw new ScriptEngineException(message);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught ResultOffsetExceededException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent class FessSystemException
            String expectedMessage = "Caught as FessSystemException";
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

                assertNull(e.getCause());
            } catch (Exception e) {
                fail("Should have caught FessUserNotFoundException");
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent exception type
            String username = "testuser";
    
            try {
                throw 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)
  6. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

                assertEquals(expectedType, e.getType());
                assertEquals(expectedMessage, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
        public void test_throwAndCatchAsFessSystemException() {
            // Test catching as parent exception type
            String type = "BasicAuth";
            String message = "Authentication failed";
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top