- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for ExecutionException (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
.put( ConcurrentModificationException.class, e -> e instanceof ConcurrentModificationException) .put(ExecutionException.class, e -> e instanceof ExecutionException) .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException) .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java
.put( ConcurrentModificationException.class, e -> e instanceof ConcurrentModificationException) .put(ExecutionException.class, e -> e instanceof ExecutionException) .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException) .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 22 13:49:09 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null); } public void testFailed() { Exception failureCause = new Exception(); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); assertThat(expected).hasCauseThat().isEqualTo(failureCause); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
} throw e; } @Override public V get() throws ExecutionException, InterruptedException { try { super.get(); } catch (ExecutionException e) { rethrow(e); } throw new AssertionError("Unreachable"); } @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { try { super.get(timeout, unit);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
@CanIgnoreReturnValue @Override public final V get() throws InterruptedException, ExecutionException { return super.get(); } @CanIgnoreReturnValue @Override public final V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { return super.get(timeout, unit); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 19:37:41 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get(); Assert.fail("This call was supposed to throw an ExecutionException"); } catch (ExecutionException expected) { Assert.assertSame(expectedCause, expected.getCause()); } } public void assertTimeout() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingLoadingCache.java
import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.ExecutionException; /** * A cache which forwards all its method calls to another cache. Subclasses should override one or * more methods to modify the behavior of the backing cache as desired per the <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get(); if (v == null) { throw new ExecutionException(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null); } public void testFailed() { Exception failureCause = new Exception(); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); assertThat(expected).hasCauseThat().isEqualTo(failureCause); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
.put( ConcurrentModificationException.class, e -> e instanceof ConcurrentModificationException) .put(ExecutionException.class, e -> e instanceof ExecutionException) .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException) .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 6.3K bytes - Viewed (0)