- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isInstanceOfThrowableClass (0.17 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
set(uncheckedCastNullableTToT(sourceResult)); return; } if (!isInstanceOfThrowableClass(throwable, localExceptionType)) { setFuture(localInputFuture); // TODO(cpovirk): Test that fallback is not run in this case. return; } @SuppressWarnings("unchecked") // verified safe by isInstanceOfThrowableClass X castThrowable = (X) throwable; T fallbackResult; try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java
*/ package com.google.common.util.concurrent; /** Methods factored out so that they can be emulated differently in GWT. */ @ElementTypesAreNonnullByDefault 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 08 20:30:27 UTC 2022 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
/** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { static boolean isInstanceOfThrowableClass( @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t); } static void restoreInterruptIfIsInterruptedException(Throwable t) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 10 12:27:25 UTC 2022 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Platform.java
/** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { static boolean isInstanceOfThrowableClass( @CheckForNull Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t); } static void restoreInterruptIfIsInterruptedException(Throwable t) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 10 12:27:25 UTC 2022 - 1.4K bytes - Viewed (0)