Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java239 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); in testExceptionally_exceptionalCompletionActionFailed()
903 if (createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
948 if (!createIncomplete) f.completeExceptionally(ex); in testWhenComplete_exceptionalCompletion()
[all …]
DForkJoinTaskTest.java260 super.completeExceptionally(ex);
265 completeExceptionally(new FJException());
284 p.completeExceptionally(rex);
291 public final void completeExceptionally(Throwable ex) {
296 s.completeExceptionally(ex);
384 completeExceptionally(new FJException());
771 f.completeExceptionally(new FJException());
790 f.completeExceptionally(null);
1462 f.completeExceptionally(new FJException());
DForkJoinTask8Test.java247 super.completeExceptionally(ex);
252 completeExceptionally(new FJException());
272 p.completeExceptionally(rex);
279 public final void completeExceptionally(Throwable ex) {
284 s.completeExceptionally(ex);
373 completeExceptionally(new FJException());
764 f.completeExceptionally(new FJException());
DRecursiveActionTest.java290 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
322 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
349 fibActions[2].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
351 fibActions[5].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
849 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
DForkJoinPool8Test.java301 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
333 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
662 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
963 completeExceptionally(new FJException()); in onCompletion()
1310 f.completeExceptionally(new FJException()); in testCompleteExceptionally2CC()
DCountedCompleterTest.java269 completeExceptionally(ex);
325 a.completeExceptionally(null);
619 completeExceptionally(new FJException()); in onCompletion()
1008 f.completeExceptionally(ex); in testCompleteExceptionally2()
1673 f.completeExceptionally(ex); in testCompleteExceptionallySingleton()
DRecursiveTaskTest.java666 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java939 public void completeExceptionally(Throwable ex) { in completeExceptionally() method in ForkJoinTask
DCompletableFuture.java2000 public boolean completeExceptionally(Throwable ex) { in completeExceptionally() method in CompletableFuture
2705 f.completeExceptionally(new TimeoutException()); in run()
2748 @Override public boolean completeExceptionally(Throwable ex) { in completeExceptionally() method in CompletableFuture.MinimalStage