- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for test_constructor_withCause (4.12 sec)
-
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
*/ package org.codelibs.fess.exception; import org.codelibs.fess.unit.UnitFessTestCase; public class JobProcessingExceptionTest extends UnitFessTestCase { public void test_constructor_withCause() { // Test constructor with Throwable cause final Exception cause = new RuntimeException("Root cause"); final JobProcessingException exception = new JobProcessingException(cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
assertNull(exception.getCause()); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); } public void test_constructor_withCause() { // Test with cause only Exception cause = new IllegalStateException("Underlying error"); DataStoreException exception = new DataStoreException(cause); assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
FessSystemException exception = new FessSystemException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } public void test_constructor_withCause() { // Test constructor with cause only Throwable cause = new IllegalArgumentException("Cause exception"); FessSystemException exception = new FessSystemException(cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
assertEquals(cause, exception.getCause()); assertEquals(componentName, exception.getComponentName()); } public void test_constructor_withCause() { // Test constructor with cause only Throwable cause = new IllegalStateException("Container initialization failed");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); assertTrue(exception instanceof FessSystemException); } public void test_constructorWithCause() { // Test constructor with cause only Exception cause = new NullPointerException("Query object is null"); SearchQueryException exception = new SearchQueryException(cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0)