- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for test_stackTrace (0.14 sec)
-
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
assertEquals("Top level error", exception.getMessage()); assertEquals(middleCause, exception.getCause()); assertEquals(rootCause, exception.getCause().getCause()); } public void test_stackTrace() { // Test that stack trace is properly set DataStoreException exception = new DataStoreException("Test error"); StackTraceElement[] stackTrace = exception.getStackTrace();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
ois.close(); // Verify assertNotNull(deserialized); assertNull(deserialized.getMessage()); assertNull(deserialized.getCause()); } public void test_stackTrace() { // Test that stack trace is properly maintained DictionaryExpiredException exception = new DictionaryExpiredException(); StackTraceElement[] stackTrace = exception.getStackTrace();
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/exception/ServletRuntimeExceptionTest.java
assertTrue(runtimeException instanceof RuntimeException); assertTrue(runtimeException instanceof Exception); assertTrue(runtimeException instanceof Throwable); } public void test_stackTrace() { // Create a ServletException with a specific message String errorMessage = "Stack trace test error"; ServletException servletException = new ServletException(errorMessage);
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/exception/QueryParseExceptionTest.java
assertNotNull(cause); assertTrue(cause instanceof ParseException); assertEquals(parseException, cause); assertEquals("Query parsing failed", cause.getMessage()); } public void test_stackTrace() { // Test that stack trace is properly set ParseException parseException = new ParseException("Stack trace test"); QueryParseException queryParseException = new QueryParseException(parseException);
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/org/codelibs/fess/exception/SsoLoginExceptionTest.java
assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_stackTrace() { // Test that stack trace is properly captured SsoLoginException exception = new SsoLoginException("Stack trace test"); StackTraceElement[] stackTrace = exception.getStackTrace();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
assertNotNull(exception); // The serialVersionUID field exists and is accessible at compile time assertTrue(exception instanceof java.io.Serializable); } public void test_stackTrace() { // Test that stack trace is properly preserved String message = "GSA error with stack trace"; Throwable cause = new NullPointerException("NPE occurred");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
// Verify the exception can be created and basic properties work assertNotNull(exception); assertEquals("Serialization test", exception.getMessage()); } public void test_stackTrace() { // Test that stack trace is properly maintained String message = "Stack trace test"; Exception cause = new IllegalArgumentException("Invalid argument");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
// Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } public void test_stackTrace() { // Test that the exception has a proper stack trace FessUserNotFoundException exception = new FessUserNotFoundException("testuser"); StackTraceElement[] stackTrace = exception.getStackTrace();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
// This test confirms the exception can be created and has standard exception properties assertNotNull(exception); assertTrue(exception instanceof java.io.Serializable); } public void test_stackTrace() { // Test that stack trace is preserved int statusCode = 500; String message = "Error occurred"; WebApiException exception = new WebApiException(statusCode, message);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
} @Test public void testStackTrace() { CurlException exception = new CurlException("Test message"); StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); assertEquals("testStackTrace", stackTrace[0].getMethodName()); }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0)