- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for executionError (0.14 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/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) -
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) -
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) -
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) -
android/guava/src/com/google/common/cache/LoadingCache.java
package com.google.common.cache; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.collect.ImmutableMap; import com.google.common.util.concurrent.ExecutionError; import com.google.common.util.concurrent.UncheckedExecutionException; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0)