Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for causal (0.22 sec)

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

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
          causes.add(throwable);
    
          if (throwable == slowPointer) {
    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

        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
          causes.add(throwable);
    
          if (throwable == slowPointer) {
    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/CycleDetectingLockFactoryTest.java

        firstException = expected;
        // Second time should also fail, with a cached causal chain.
        expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        firstException = expected;
        // Second time should also fail, with a cached causal chain.
        expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          boolean completedWithFailure = setException(throwable);
          if (!completedWithFailure) {
            // Go up the causal chain to see if we've already seen this cause; if we have, even if
            // it's wrapped by a different exception, don't log it.
            boolean firstTimeSeeingThisException = addCausalChain(getOrInitSeenExceptions(), throwable);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * of {@code ExampleStackTrace} instances to illustrate the cycle, e.g.
       *
       * <pre>
       * com....PotentialDeadlockException: Potential Deadlock from LockC -&gt; ReadWriteA
       *   at ...
       *   at ...
       * Caused by: com...ExampleStackTrace: LockB -&gt; LockC
       *   at ...
       *   at ...
       * Caused by: com...ExampleStackTrace: ReadWriteA -&gt; LockB
    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)
  7. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            Exception cause2 = new RuntimeException("loop") {
                @Override
                public synchronized Throwable getCause() {
                    return causeRef.get();
                }
            };
            causeRef.set(cause2);
    
            Plugin plugin = new Plugin();
            Exception cause = new PluginContainerException(plugin, null, null, cause2);
            cause2.initCause(cause);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                    final Throwable[] causes = ((MultipleCrawlingAccessException) e).getCauses();
                    if (causes.length > 0) {
                        e = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = e.getCause();
                if (cause != null) {
                    errorName = cause.getClass().getCanonicalName();
                } else {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        } catch (ExecutionException e) {
          builder.append("FAILURE, cause=[").append(e.getCause()).append("]");
        } catch (CancellationException e) {
          builder.append("CANCELLED");
        } catch (RuntimeException e) {
          builder.append("UNKNOWN, cause=[").append(e.getClass()).append(" thrown from get()]");
        }
      }
    
      private enum State {
        PENDING {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataRetrievalException.java

        }
    
        /**
         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(Throwable cause) {
            super(null, cause, null);
        }
    
        /**
         * @param message a message
         * @param cause a cause
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top