Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 96 for throwable (0.05 seconds)

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

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serializable() {
            // Test that the exception has serialVersionUID
            WebApiException exception = new WebApiException(404, "Not Found");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                if (webinfPath != null && Files.exists(Paths.get(webinfPath))) {
                    return Paths.get(webinfPath, names);
                }
            } catch (final Throwable e) {
                // ignore
            }
            final String webinfBase = root + base;
            if (Files.exists(Paths.get(webinfBase))) {
                return Paths.get(webinfBase, names);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            assertNotNull(details);
            assertTrue(details.contains("Total: 1 event(s)"));
            assertTrue(details.contains("Something went wrong"));
            // Throwable is no longer included in summary-oriented format
            // Only log message is shown per event line
        }
    
        @Test
        public void test_formatDetails_emptyList() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTracePresence() {
            // Setup
            final String message = "Query error with stack trace";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

         *
         * @param success A callback for successful indexing.
         * @param error   A callback for indexing errors.
         */
        public void indexFromDocuments(final Consumer<Boolean> success, final Consumer<Throwable> error) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final long interval = fessConfig.getSuggestUpdateRequestIntervalAsInteger().longValue();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

        private
        inline fun tryResolve(resolver: () -> String, or: () -> String) = try {
            resolver()
        } catch (_: Throwable) {
            or()
        }
    }
    
    
    private
    val NEWLINE_REGEX = "\\n\\s*".toRegex()
    
    
    private
    class KotlinVersionsToIncubatingCollector(val repositoryRoot: Path) : VersionsToIncubatingCollector {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            public void stop() {
                /* No-op */ }
        }
    
        private static class FastMockFailureUrlService extends FailureUrlService {
            public void store(DataConfig dataConfig, String errorName, String url, Throwable e) {
                /* No-op */ }
        }
    
        private static class FastMockSearchEngineClient extends SearchEngineClient {
            @Override
            public long deleteByQuery(String index, QueryBuilder queryBuilder) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                } else {
                    try {
                        dataStore.store(dataConfig, indexUpdateCallback, initParamMap);
                    } catch (final Throwable e) {
                        logger.error("Failed to process a data crawling: {}", dataConfig.getName(), e);
                        ComponentUtil.getComponent(FailureUrlService.class)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Crawler terminated unexpectedly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (commandThread != null && commandThread.isAlive()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                            urlQueue.getUrl(), urlQueue.getDepth() != null ? urlQueue.getDepth() + 1 : 1);
                } catch (final Throwable t) {
                    if (!ComponentUtil.available()) {
                        throw new ContainerNotAvailableException(t);
                    }
                    throw t;
                }
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
Back to Top