Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for throwable (0.06 sec)

  1. src/main/java/org/codelibs/core/log/Logger.java

        }
    
        /**
         * Outputs a log entry.
         *
         * @param throwable
         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            assertFalse(response1.hasError());
    
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error"));
            SuggestIndexResponse response2 = new SuggestIndexResponse(10, 5, errors, 100);
            assertTrue(response2.hasError());
        }
    
        @Test
        public void test_getErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        }
    
        /**
         * Verify that root causes are stored and returned correctly.
         */
        @Test
        @DisplayName("Root cause propagation")
        void testRootCausePropagation() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException(0, root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
         * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java

            assertFalse(response1.hasError());
    
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error"));
            SuggestDeleteResponse response2 = new SuggestDeleteResponse(errors, 100);
            assertTrue(response2.hasError());
        }
    
        @Test
        public void test_getErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Error 1"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.9K 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/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)
  10. 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)
Back to top