- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for test_exceptionChaining (0.13 seconds)
-
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
assertNotNull(exception); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_exceptionChaining() { // Test exception chaining Throwable rootCause = new IllegalArgumentException("Invalid argument"); Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
ContainerNotAvailableException exception3 = new ContainerNotAvailableException("anotherComponent"); assertEquals("anotherComponent", exception3.getComponentName()); } @Test public void test_exceptionChaining() { // Test exception chaining with multiple levels Exception rootCause = new Exception("Root cause"); RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
assertTrue(e instanceof FessUserNotFoundException); } catch (Exception e) { fail("Should have caught as FessSystemException"); } } @Test public void test_exceptionChaining() { // Test that the exception can be used in exception chaining String username = "testuser"; FessUserNotFoundException originalException = new FessUserNotFoundException(username);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
assertNull(exception.getCause()); // Stack trace should be empty assertEquals(0, exception.getStackTrace().length); } @Test public void test_exceptionChaining() { // Test exception chaining with multiple levels Exception rootCause = new Exception("Root cause"); RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
SsoProcessException exception = new SsoProcessException(null, null); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_exceptionChaining() { // Test exception chaining with multiple levels Exception rootCause = new Exception("Network timeout"); Exception middleCause = new Exception("SSO provider unreachable", rootCause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.8K bytes - Click Count (0)