Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInstanceOfThrowableClass (0.27 sec)

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

    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    @GwtCompatible
    final class Platform {
      static boolean isInstanceOfThrowableClass(
          @Nullable Throwable t, Class<? extends Throwable> expectedClass) {
        return expectedClass.isInstance(t);
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /** Methods factored out so that they can be emulated differently in GWT. */
    final class Platform {
      static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) {
        /*
         * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class
         * under GWT.
         */
        return true;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 27 16:15:49 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top