Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for StackTraceElement (0.05 sec)

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

            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Check that the current test method is in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            // Verify stack trace is available
            StackTraceElement[] stackTrace = runtimeException.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify the cause's stack trace is also available
            StackTraceElement[] causeStackTrace = runtimeException.getCause().getStackTrace();
            assertNotNull(causeStackTrace);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

      private static List<StackTraceElement> jlaStackTrace(Throwable t) {
        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            UnsupportedSearchException exception = new UnsupportedSearchException("Stack trace test");
    
            StackTraceElement[] originalStackTrace = exception.getStackTrace();
            assertNotNull(originalStackTrace);
    
            Throwable filled = exception.fillInStackTrace();
            assertSame(exception, filled);
    
            StackTraceElement[] newStackTrace = exception.getStackTrace();
            assertNotNull(newStackTrace);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            CommandExecutionException exception = new CommandExecutionException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            StackTraceElement firstElement = stackTrace[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
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
            // Verify that current test method appears in stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify cause's stack trace is also available
            StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
            assertNotNull(causeStackTrace);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            LdapConfigurationException exception = new LdapConfigurationException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // The first element should be from this test method
            StackTraceElement firstElement = stackTrace[0];
            assertEquals("test_stackTrace", firstElement.getMethodName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // Verify the top of the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertTrue(lazyStackTraceIsLazy());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace(Throwable)
      public void testLazyStackTrace() {
        Exception e = new Exception();
        StackTraceElement[] originalStackTrace = e.getStackTrace();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top