Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExceptionType (0.12 sec)

  1. 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)
  2. guava/src/com/google/common/reflect/Invokable.java

          // getGenericExceptionTypes() will never return a type that's not exception
          @SuppressWarnings("unchecked")
          TypeToken<? extends Throwable> exceptionType =
              (TypeToken<? extends Throwable>) TypeToken.of(type);
          builder.add(exceptionType);
        }
        return builder.build();
      }
    
      /**
       * Explicitly specifies the return type of this {@code Invokable}. For example:
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top