Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_constructor_withCause (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        /**
         * Test constructor with cause only
         */
        public void test_constructor_withCause() {
            Exception cause = new IllegalArgumentException("Root cause");
            CrawlerSystemException exception = new CrawlerSystemException(cause);
    
            assertNotNull(exception);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. 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