- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for test_exceptionChaining (0.15 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) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
// Field doesn't exist } assertTrue("CurlException should have serialVersionUID field", hasSerialVersionUID); } @Test public void testExceptionChaining() { IOException rootCause = new IOException("Root cause"); RuntimeException intermediateCause = new RuntimeException("Intermediate", rootCause);
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jul 31 01:01:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should support exception chaining") void testExceptionChaining() { // Given Exception rootCause = new IllegalStateException("Root error"); RuntimeCIFSException intermediateCause = new RuntimeCIFSException("Intermediate", rootCause); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
break; } } assertTrue(foundTestMethod); } @Test @DisplayName("Should handle exception chaining") void testExceptionChaining() { // Given Exception rootCause = new RuntimeException("Root cause"); SmbException intermediateCause = new SmbException("Intermediate", rootCause); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0)