- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for RuntimeException (0.14 sec)
-
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
// Test that it can be caught as RuntimeException try { throw new DictionaryExpiredException(); } catch (RuntimeException e) { assertNotNull(e); assertTrue(e instanceof DictionaryExpiredException); } catch (Exception e) { fail("Should have caught as RuntimeException"); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
// Test with null message RuntimeException nullMessageEx = new RuntimeException(); assertNull(nullMessageEx.getMessage()); // Test with empty message RuntimeException emptyMessageEx = new RuntimeException(""); assertEquals("", emptyMessageEx.getMessage()); } // Test JSON response creation helperRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); // Test that suppression is enabled RuntimeException suppressed = new RuntimeException("Suppressed exception"); exception.addSuppressed(suppressed); assertEquals(1, exception.getSuppressed().length); assertEquals(suppressed, exception.getSuppressed()[0]); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
ServletRuntimeException runtimeException = new ServletRuntimeException(servletException); // Verify it's an instance of RuntimeException assertTrue(runtimeException instanceof RuntimeException); assertTrue(runtimeException instanceof Exception); assertTrue(runtimeException instanceof Throwable); } public void test_stackTrace() { // Create a ServletException with a specific message
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
assertTrue(exception instanceof RuntimeException); } public void test_stackTracePresence() { // Setup final String message = "Test stack trace"; final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY); final Exception cause = new RuntimeException("Root cause"); // Execute
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
// This is expected behavior for exceptions with null cause } public void test_nestedCause() { // Test with nested exceptions RuntimeException rootCause = new RuntimeException("Root cause"); ParseException parseException = new ParseException("Parse error"); parseException.initCause(rootCause);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
}); // Test with runtime exception RuntimeException runtimeException = new IllegalArgumentException("Illegal arg"); assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException(runtimeException); assertEquals(runtimeException, exception.getCause()); }); // Test with errorRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
ContainerNotAvailableException exception1 = new ContainerNotAvailableException(componentName1, new RuntimeException()); assertEquals(componentName1, exception1.getComponentName()); ContainerNotAvailableException exception2 = new ContainerNotAvailableException(new RuntimeException()); assertEquals("container", exception2.getComponentName());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
* <li>{@link #SuggestSettingsException(String, Throwable)}: Constructs a new exception with the specified detail message and cause.</li> * </ul> * * @see RuntimeException */ public class SuggestSettingsException extends RuntimeException { private static final long serialVersionUID = 1L; /** * Constructs a new SuggestSettingsException with the specified detail message.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.1K bytes - Viewed (0)