Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for GetStackTrace (1.92 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        public void test_stackTrace() {
            // Test that stack trace is properly maintained
            DictionaryExpiredException exception = new DictionaryExpiredException();
            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            PluginException exception = new PluginException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the first stack trace element is from this test method
            StackTraceElement firstElement = exception.getStackTrace()[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Stack trace should be populated
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_constructor_withNonWritableStackTrace() {
            // Test protected constructor with non-writable stack trace
            String message = "Test without writable stack trace";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
              ObjectArrays.concat(cause.getStackTrace(), e.getStackTrace(), StackTraceElement.class);
          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            this.options = options;
            this.tree = tree.acquire();
            this.tree_num = tree.getTreeId();
    
            if (cfg.isTraceResourceUsage()) {
                this.creationBacktrace = Thread.currentThread().getStackTrace();
            } else {
                this.creationBacktrace = null;
            }
        }
    
        /**
         * @param cfg
         * @param fid
         * @param tree
         * @param unc
         * @param options
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  6. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            int statusCode = 500;
            String message = "Error occurred";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_nestedExceptions() {
            // Test nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid argument");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Execute
            final SsoMessageException exception = new SsoMessageException(messageCode, message, cause);
    
            // Verify stack trace is available
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_differentMessageCodes() {
            // Setup - test with different message codes
            final String message = "Test message";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                // Test standard IOException methods
                assertEquals(message, exception.getMessage());
                assertNotNull(exception.getStackTrace());
                assertTrue(exception.getStackTrace().length > 0);
    
                // Test that it can be thrown as IOException
                assertThrows(IOException.class, () -> {
                    throw exception;
                });
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            RuntimeException innerException = new RuntimeException(innerMessage);
            StorageException exception = new StorageException(outerMessage, innerException);
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
            assertEquals(innerException, exception.getCause());
            assertEquals(innerMessage, exception.getCause().getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final InvalidQueryException exception = new InvalidQueryException(messageCode, message, cause);
    
            // Verify stack trace is captured
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_differentMessageCodes() {
            // Setup - test with different message codes
            final String message = "Query validation error";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top