- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 53 for getException (0.05 sec)
-
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
@CanIgnoreReturnValue @Override public boolean set(@ParametricNullness V value) { return super.set(value); } @CanIgnoreReturnValue @Override public boolean setException(Throwable throwable) { return super.setException(throwable); } @CanIgnoreReturnValue @Override public boolean setFuture(ListenableFuture<? extends V> future) { return super.setFuture(future); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testFailed() throws Exception { Exception cause = new Exception(); assertThat(future.setException(cause)).isTrue(); assertFailed(future, cause); } public void testCanceled() throws Exception { assertThat(future.cancel(false /* mayInterruptIfRunning */)).isTrue(); assertCancelled(future, false);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
return new UncheckedThrowingFuture<V>(); } public void complete(RuntimeException e) { if (!super.setException(new WrapperException(checkNotNull(e)))) { throw new IllegalStateException("Future was already complete: " + this); } } public void complete(Error e) { if (!super.setException(new WrapperException(checkNotNull(e)))) { throw new IllegalStateException("Future was already complete: " + this);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* thread immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptionsField to its exception * * Thread2: calls setException(), which returns false, CASes seenExceptionsField to its * exception, and wrongly believes that its exception is new (leading it to logging it when it
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
void afterRanInterruptiblySuccess(@ParametricNullness V result) { TrustedListenableFutureTask.this.set(result); } @Override void afterRanInterruptiblyFailure(Throwable error) { setException(error); } @Override String toPendingString() { return callable.toString(); } } @WeakOuter private final class TrustedFutureInterruptibleAsyncTask
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java
* * @return A {@link Map} where keys are {@link Repository} instances and values are {@link Exception} instances. */ Map<Repository, List<Exception>> getExceptions(); /** * Returns the repository from which the artifact was resolved. * * @return The {@link Repository} instance. */ Repository getRepository();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java
import org.apache.maven.api.annotations.Nonnull; /** * * @since 4.0.0 */ @Experimental public interface VersionResolverResult extends Result<VersionResolverRequest> { @Nonnull List<Exception> getExceptions(); @Nonnull Version getVersion(); @Nonnull Optional<Repository> getRepository();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
if (result.hasExceptions()) { throw new ArtifactResolutionException( "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(), request.getArtifact(), request.getRemoteRepositories()); } } private static <T> List<T> toList(Collection<T> items) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* class with a manual reference back to the "containing" class.) * * This has the nice-ish side effect of limiting reentrancy: run() calls * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0)