Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for test_constructor_withCause (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top