Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 96 for throwable (0.1 seconds)

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

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has the correct serialVersionUID field
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

            try {
                helper = ComponentUtil.getLogNotificationHelper();
            } catch (final Exception e) {
                return;
            }
    
            String throwableStr = null;
            final Throwable thrown = event.getThrown();
            if (thrown != null) {
                final StringWriter sw = new StringWriter();
                thrown.printStackTrace(new PrintWriter(sw));
                throwableStr = sw.toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that exception is serializable
            String message = "Serialization test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                return null;
            }
    
            @Override
            public void log(String msg) {
            }
    
            @Override
            public void log(String message, Throwable throwable) {
            }
    
            @Override
            public String getServerInfo() {
                return null;
            }
    
            @Override
            public String getInitParameter(String name) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("SuggestCreator terminated unexpectedly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (systemMonitorTask != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    default:
                        logger.error("Unknown thumbnail result: {} -> {}", thumbnailId, responseData.getUrl());
                        break;
                    }
                } catch (final Throwable t) {
                    logger.warn("Failed to create thumbnail: {} -> {} ({}:{})", thumbnailId, responseData.getUrl(),
                            t.getClass().getCanonicalName(), t.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            }
        }
    
        private static void assertThrows(final Class<? extends Throwable> expectedType, final Runnable runnable) {
            try {
                runnable.run();
                throw new AssertionError("Expected " + expectedType.getSimpleName() + " to be thrown");
            } catch (final Throwable t) {
                if (!expectedType.isInstance(t)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                return null;
            }
    
            @Override
            public void log(String msg) {
            }
    
            @Override
            public void log(String message, Throwable throwable) {
            }
    
            @Override
            public String getServerInfo() {
                return "MockServer/1.0";
            }
    
            @Override
            public String getInitParameter(String name) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                events.add(new LogNotificationEvent(((Number) source.get("timestamp")).longValue(), (String) source.get("level"),
                        (String) source.get("loggerName"), (String) source.get("message"), (String) source.get("throwable")));
                docIds.add(hit.getId());
            }
    
            final int maxDetailsLength = fessConfig.getLogNotificationMaxDetailsLengthAsInteger();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("ThumbnailGenerator terminated unexpectedly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (systemMonitorTask != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top