- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for ExecutionError (0.1 sec)
-
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* #initCause} later, so it is not quite equivalent to using a constructor that omits the * cause. */ @Deprecated protected ExecutionError() {} /** * Creates a new instance with the given detail message and no cause. * * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a * cause: Users of this class typically expect for instances to have a non-null cause. At the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionError.java
* #initCause} later, so it is not quite equivalent to using a constructor that omits the * cause. */ @Deprecated protected ExecutionError() {} /** * Creates a new instance with the given detail message and no cause. * * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a * cause: Users of this class typically expect for instances to have a non-null cause. At the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
if (v == null) { throw new ExecutionError(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) { return valueRef.get(); } }; ExecutionError expected = assertThrows(ExecutionError.class, () -> cache.getUnchecked(new Object()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
if (v == null) { throw new ExecutionError(cause); } return v; } @Override public @Nullable Object getIfPresent(Object key) { return valueRef.get(); } }; ExecutionError expected = assertThrows(ExecutionError.class, () -> cache.getUnchecked(new Object()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
.put( ConcurrentModificationException.class, e -> e instanceof ConcurrentModificationException) .put(ExecutionError.class, e -> e instanceof ExecutionError) .put(ExecutionException.class, e -> e instanceof ExecutionException) .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @throws ExecutionException if {@code callable} throws a checked exception * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException} * @throws ExecutionError if {@code callable} throws an {@code Error} * @since 22.0 */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue @ParametricNullness
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) { throw new ExecutionError(e); } } @CanIgnoreReturnValue // TODO(kak): consider removing this @Override @ParametricNullness public <T extends @Nullable Object> T callUninterruptiblyWithTimeout(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
assertThat(expected).hasCauseThat().isEqualTo(UNCHECKED_EXCEPTION); } public void testGetCheckedUntimed_executionExceptionError() throws TwoArgConstructorException { ExecutionError expected = assertThrows( ExecutionError.class, () -> getChecked(FAILED_FUTURE_ERROR, TwoArgConstructorException.class)); assertThat(expected).hasCauseThat().isEqualTo(ERROR); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
() -> getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION)); assertEquals(UNCHECKED_EXCEPTION, expected.getCause()); } public void testGetUnchecked_executionExceptionError() { ExecutionError expected = assertThrows(ExecutionError.class, () -> getUnchecked(FAILED_FUTURE_ERROR)); assertEquals(ERROR, expected.getCause()); } public void testGetUnchecked_executionExceptionOtherThrowable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
() -> getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION)); assertEquals(UNCHECKED_EXCEPTION, expected.getCause()); } public void testGetUnchecked_executionExceptionError() { ExecutionError expected = assertThrows(ExecutionError.class, () -> getUnchecked(FAILED_FUTURE_ERROR)); assertEquals(ERROR, expected.getCause()); } public void testGetUnchecked_executionExceptionOtherThrowable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0)