- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 80 for getException (0.06 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptions to its exception * * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception, * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
return this; } public List<Throwable> getExceptions() { return exceptions; } public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } public boolean hasExceptions() { return !getExceptions().isEmpty(); } public BuildSummary getBuildSummary(MavenProject project) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE) .setMessage(e.getMessage()) .setException(e)); } } return s; }); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
} public void testFutureGetThrowsWrappedException() throws Exception { inputFuture.setException(EXCEPTION); listener.assertException(EXCEPTION); } public void testFutureGetThrowsWrappedError() throws Exception { Error error = new Error(); inputFuture.setException(error); // Verify that get throws an ExecutionException, caused by an Error, when // the callback is called.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptions to its exception * * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception, * and wrongly believes that its exception is new (leading it to logging it when it shouldn't)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 28 20:40:51 UTC 2024 - 8.4K 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 { @Nonnull List<Exception> getExceptions(); @Nonnull Version getVersion(); @Nonnull Optional<Repository> getRepository();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.3K bytes - Viewed (0)