Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for GetStackTrace (0.23 sec)

  1. guava/src/com/google/common/base/Throwables.java

       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       * comparison to the normal way to access the stack trace, {@link Throwable#getStackTrace()
       * throwable.getStackTrace()}. Note, however, that this method's special implementation is not
       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  @Override
                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  @Override
                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            failureUrl.setErrorLog(getStackTrace(e));
            failureUrl.setLastAccessTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
            failureUrl.setThreadName(Thread.currentThread().getName());
    
            bhv.insertOrUpdate(failureUrl, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        private String getStackTrace(final Throwable t) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            this.fileSuffix = fileSuffix;
    
            initializeCleanupMonitoring();
        }
    
        private void initializeCleanupMonitoring() {
            callerInfo = new NullPointerException().getStackTrace()[2];
    
            Runnable warning = this::maybeWarnAboutCleanUp;
    
            cleanupWarning = new Thread(warning);
    
            Runtime.getRuntime().addShutdownHook(cleanupWarning);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace(Throwable)
      public void testLazyStackTrace() {
        Exception e = new Exception();
        StackTraceElement[] originalStackTrace = e.getStackTrace();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
    
        assertThrows(UnsupportedOperationException.class, () -> lazyStackTrace(e).set(0, null));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // lazyStackTrace(Throwable)
      public void testLazyStackTrace() {
        Exception e = new Exception();
        StackTraceElement[] originalStackTrace = e.getStackTrace();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) originalStackTrace).inOrder();
    
        assertThrows(UnsupportedOperationException.class, () -> lazyStackTrace(e).set(0, null));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

                LockGraphNode.class.getName());
    
        ExampleStackTrace(LockGraphNode node1, LockGraphNode node2) {
          super(node1.getLockName() + " -> " + node2.getLockName());
          StackTraceElement[] origStackTrace = getStackTrace();
          for (int i = 0, n = origStackTrace.length; i < n; i++) {
            if (WithExplicitOrdering.class.getName().equals(origStackTrace[i].getClassName())) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top