- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for validateClass (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@VisibleForTesting @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { validator.validateClass(exceptionClass); try { return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@VisibleForTesting @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { validator.validateClass(exceptionClass); try { return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
} private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator { INSTANCE; @Override public void validateClass(Class<? extends Exception> exceptionClass) { checkArgument( isCheckedException(exceptionClass), "Futures.getChecked exception type (%s) must not be a RuntimeException", exceptionClass);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.5K bytes - Viewed (0)