Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ExceptionType (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

      @CheckForNull @LazyInit Class<X> exceptionType;
      @CheckForNull @LazyInit F fallback;
    
      AbstractCatchingFuture(
          ListenableFuture<? extends V> inputFuture, Class<X> exceptionType, F fallback) {
        this.inputFuture = checkNotNull(inputFuture);
        this.exceptionType = checkNotNull(exceptionType);
        this.fallback = checkNotNull(fallback);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/FluentFuture.java

       */
      @J2ktIncompatible
      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catching(
          Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) {
        return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public static <V extends @Nullable Object, X extends Throwable> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<X> exceptionType,
          Function<? super X, ? extends V> fallback,
          Executor executor) {
        return AbstractCatchingFuture.create(input, exceptionType, fallback, executor);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          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(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Futures.java

      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public static <V extends @Nullable Object, X extends Throwable> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
          Class<X> exceptionType,
          Function<? super X, ? extends V> fallback,
          Executor executor) {
        return AbstractCatchingFuture.create(input, exceptionType, fallback, executor);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top