Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 133 for Throwables (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/base/internal/Finalizer.java

          } catch (InterruptedException e) {
            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
       * @return true if the caller should continue to wait for more references to be added to the
       *     queue, false if the associated FinalizableReferenceQueue is no longer referenced.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import static com.google.common.base.Throwables.getCausalChain;
    import static com.google.common.base.Throwables.getCauseAs;
    import static com.google.common.base.Throwables.getRootCause;
    import static com.google.common.base.Throwables.getStackTraceAsString;
    import static com.google.common.base.Throwables.lazyStackTrace;
    import static com.google.common.base.Throwables.lazyStackTraceIsLazy;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/internal/Finalizer.java

          } catch (InterruptedException e) {
            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
       * @return true if the caller should continue to wait for more references to be added to the
       *     queue, false if the associated FinalizableReferenceQueue is no longer referenced.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/CloserTest.java

        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
        private final Throwable suppressed;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                }
    
                // reactor failure modes
                if (t instanceof RuntimeException || !(t instanceof Exception)) {
                    // fail fast on RuntimeExceptions, Errors and "other" Throwables
                    // assume these are system errors and further build is meaningless
                    buildContext.getReactorBuildStatus().halt();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.collect.Sets.newConcurrentHashSet;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        service.runFirstBarrier.await();
        service.runSecondBarrier.await();
        assertThrows(CancellationException.class, () -> future.get());
        // An execution exception holds a runtime exception (from throwables.propagate) that holds our
        // original exception.
        assertEquals(service.runException, service.failureCause());
        assertEquals(Service.State.FAILED, service.state());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        service.runFirstBarrier.await();
        service.runSecondBarrier.await();
        assertThrows(CancellationException.class, () -> future.get());
        // An execution exception holds a runtime exception (from throwables.propagate) that holds our
        // original exception.
        assertEquals(service.runException, service.failureCause());
        assertEquals(Service.State.FAILED, service.state());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
      // Avoids generic type capture inconsistency problems where |? extends V| is incompatible with V.
      private <X extends Throwable, W extends V> ClosingFuture<V> catchingMoreGeneric(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            catchingAsync(failingFuture, Throwable.class, fallback, directExecutor());
        assertEquals(20, getDone(faultTolerantFuture).intValue());
        fallback.verifyCallCount(1);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // non-Throwable exceptionType
      public void testCatchingAsync_inputCancelledWithoutFallback() throws Exception {
        AsyncFunction<Throwable, Integer> fallback = unexpectedAsyncFunction();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top