Searched refs:completeExceptionally (Results 1 - 9 of 9) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java232 * completeExceptionally completes exceptionally, as indicated by
239 f.completeExceptionally(ex);
276 f.completeExceptionally(new CFException());
304 f.completeExceptionally(ex = new CFException());
309 f.completeExceptionally(new CFException());
351 assertTrue(f.completeExceptionally(new IndexOutOfBoundsException()));
870 if (!createIncomplete) f.completeExceptionally(ex);
878 if (createIncomplete) f.completeExceptionally(ex);
895 if (!createIncomplete) f.completeExceptionally(ex1);
903 if (createIncomplete) f.completeExceptionally(ex
[all...]
H A DForkJoinTask8Test.java247 super.completeExceptionally(ex);
252 completeExceptionally(new FJException());
272 p.completeExceptionally(rex);
279 public final void completeExceptionally(Throwable ex) { method in class:ForkJoinTask8Test.BinaryAsyncAction
284 s.completeExceptionally(ex);
373 completeExceptionally(new FJException());
752 * invoke task throws exception after invoking completeExceptionally
764 f.completeExceptionally(new FJException());
H A DForkJoinTaskTest.java260 super.completeExceptionally(ex);
265 completeExceptionally(new FJException());
284 p.completeExceptionally(rex);
291 public final void completeExceptionally(Throwable ex) { method in class:ForkJoinTaskTest.BinaryAsyncAction
296 s.completeExceptionally(ex);
384 completeExceptionally(new FJException());
765 * invoke task throws exception after invoking completeExceptionally
771 f.completeExceptionally(new FJException());
783 * completeExceptionally(null) surprisingly has the same effect as
784 * completeExceptionally(ne
[all...]
H A DRecursiveActionTest.java290 f.completeExceptionally(new FJException());
322 f.completeExceptionally(new FJException());
349 fibActions[2].completeExceptionally(new FJException());
351 fibActions[5].completeExceptionally(new FJException());
843 * invoke task throws exception after invoking completeExceptionally
849 f.completeExceptionally(new FJException());
H A DForkJoinPool8Test.java301 f.completeExceptionally(new FJException());
333 f.completeExceptionally(new FJException());
656 * invoke task throws exception after invoking completeExceptionally
662 f.completeExceptionally(new FJException());
963 completeExceptionally(new FJException());
1304 * invoke task throws exception after invoking completeExceptionally
1310 f.completeExceptionally(new FJException());
H A DCountedCompleterTest.java269 completeExceptionally(ex);
310 * completeExceptionally completes exceptionally
320 * completeExceptionally(null) surprisingly has the same effect as
321 * completeExceptionally(new RuntimeException())
325 a.completeExceptionally(null);
619 completeExceptionally(new FJException());
1000 * invoke task throws exception after invoking completeExceptionally
1008 f.completeExceptionally(ex);
1665 * invoke task throws exception after invoking completeExceptionally
1673 f.completeExceptionally(e
[all...]
H A DRecursiveTaskTest.java660 * invoke task throws exception after invoking completeExceptionally
666 f.completeExceptionally(new FJException());
/libcore/luni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java24 * {@link #completeExceptionally completeExceptionally}, or
63 * {@code completeExceptionally(new CancellationException())}. Method
1971 public boolean completeExceptionally(Throwable ex) { method in class:CompletableFuture
2284 * completeExceptionally}, and abrupt termination of a
2670 /** Action to completeExceptionally on timeout */
2676 f.completeExceptionally(new TimeoutException());
2719 @Override public boolean completeExceptionally(Throwable ex) { method in class:CompletableFuture.MinimalStage
H A DForkJoinTask.java842 * invoke {@link #completeExceptionally(Throwable)}.
910 public void completeExceptionally(Throwable ex) { method in class:ForkJoinTask

Completed in 220 milliseconds