Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 69 for throwable (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

        }
    
        @Test
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
            String message = "Test exception message with cause";
            Throwable cause = new RuntimeException("Root cause");
            FessSystemException exception = new FessSystemException(message, cause);
    
            assertEquals(message, exception.getMessage());
    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)
  2. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

         * @param message the error message
         * @param cause the underlying exception that caused this error
         */
        public DataStoreCrawlingException(final String url, final String message, final Throwable cause) {
            this(url, message, cause, false);
        }
    
        /**
         * Creates a new DataStoreCrawlingException with the specified URL, message, cause, and abort flag.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/LlmException.java

         * Creates a new exception with the specified message and cause.
         *
         * @param message the error message
         * @param cause the cause of the exception
         */
        public LlmException(final String message, final Throwable cause) {
            super(message, cause);
            errorCode = ERROR_UNKNOWN;
        }
    
        /**
         * Creates a new exception with the specified message and error code.
         *
         * @param message the error message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    public class JobProcessingExceptionTest extends UnitFessTestCase {
    
        @Test
        public void test_constructor_withCause() {
            // Test constructor with Throwable cause
            final Exception cause = new RuntimeException("Root cause");
            final JobProcessingException exception = new JobProcessingException(cause);
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            Thread thread2 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            thread1.start();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            Throwable cause = queryParseException.getCause();
            assertNotNull(cause);
            assertTrue(cause instanceof ParseException);
            assertEquals(parseException, cause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is populated
            UnsupportedSearchException exception = new UnsupportedSearchException("test message");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                    assertNotNull(result);
                } catch (Exception e) {
                    // Expected behavior when components are not fully initialized
                    Throwable cause = e.getCause();
                    assertNotNull(cause);
                }
            } catch (Exception e) {
                // Test setup exception is acceptable
                assertNotNull(e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
        public ScheduledJobException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructor.
         * @param message Exception message.
         */
        public ScheduledJobException(final String message) {
            super(message);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (1)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            try {
                throw new DictionaryExpiredException();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top