Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for throwable (0.74 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

        /**
         * Creates a new MultipleCrawlingAccessException with the specified detail message and array of throwables.
         *
         * @param message the detail message explaining the reason for the exception
         * @param throwables the array of throwables that caused this exception
         */
        public MultipleCrawlingAccessException(final String message, final Throwable[] throwables) {
            super(message);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

    public class SuggestDeleteResponse {
        /** List of errors that occurred during the operation. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
         * Constructor for SuggestDeleteResponse.
         * @param errors A list of Throwables representing errors.
         * @param took The time taken for the operation in milliseconds.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testStringAndThrowableConstructor() {
            // Test the constructor with both message and cause
            String message = "Failed to connect due to timeout.";
            Throwable cause = new IllegalStateException("Network unreachable");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            Throwable cause = new RuntimeException("Root cause");
            RequestTimeoutException exception = new RequestTimeoutException(cause);
            assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage(), "Message should be derived from the cause");
            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            try {
                Throwable t = cae;
                if (t instanceof final MultipleCrawlingAccessException mcae) {
                    final Throwable[] causes = mcae.getCauses();
                    if (causes.length > 0) {
                        t = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = t.getCause();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/log/LoggerAdapter.java

        boolean isFatalEnabled();
    
        void fatal(String message);
    
        void fatal(String message, Throwable t);
    
        boolean isErrorEnabled();
    
        void error(String message);
    
        void error(String message, Throwable t);
    
        boolean isWarnEnabled();
    
        void warn(String message);
    
        void warn(String message, Throwable t);
    
        boolean isInfoEnabled();
    
        void info(String message);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the read operation to return a specific byte
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
                    SmbComReadAndX readCmd = invocation.getArgument(0);
                    SmbComReadAndXResponse response = invocation.getArgument(1);
                    response.dataLength = 1;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java

     * <ul>
     *   <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li>
     *   <li>{@link #SuggestSettingsException(Throwable)}: Constructs a new exception with the specified cause.</li>
     *   <li>{@link #SuggestSettingsException(String, Throwable)}: Constructs a new exception with the specified detail message and cause.</li>
     * </ul>
     *
     * @see RuntimeException
     */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        /** List of errors. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
         * Constructor for SuggestIndexResponse.
         * @param numberOfSuggestDocs The number of suggest documents.
         * @param numberOfInputDocs The number of input documents.
         * @param errors A list of Throwables representing errors.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

            // nothing
        }
    
        /**
         * A list of Throwables representing failures that occurred during the operation.
         */
        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        /**
         * Adds a Throwable to the list of failures.
         *
         * @param t the Throwable to add
         */
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top