Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java282 f.completeExceptionally(ex);
321 f.completeExceptionally(new CFException());
350 f.completeExceptionally(new CFException());
355 f.completeExceptionally(new CFException());
404 assertTrue(f.completeExceptionally(new IndexOutOfBoundsException()));
1000 if (!createIncomplete) f.completeExceptionally(ex);
1008 if (createIncomplete) f.completeExceptionally(ex);
1027 if (!createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
1035 if (createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
1082 if (!createIncomplete) f.completeExceptionally(ex); in testWhenComplete_exceptionalCompletion()
[all …]
DForkJoinTask8Test.java283 super.completeExceptionally(ex);
288 completeExceptionally(new FJException());
308 p.completeExceptionally(rex);
315 public final void completeExceptionally(Throwable ex) {
320 s.completeExceptionally(ex);
409 completeExceptionally(new FJException());
837 f.completeExceptionally(new FJException());
DForkJoinTaskTest.java299 super.completeExceptionally(ex);
304 completeExceptionally(new FJException());
323 p.completeExceptionally(rex);
330 public final void completeExceptionally(Throwable ex) {
335 s.completeExceptionally(ex);
423 completeExceptionally(new FJException());
837 f.completeExceptionally(new FJException());
857 f.completeExceptionally(null);
1565 f.completeExceptionally(new FJException());
DRecursiveActionTest.java329 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
358 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
385 fibActions[2].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
387 fibActions[5].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
905 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
DForkJoinPool8Test.java341 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
370 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
717 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
1028 completeExceptionally(new FJException()); in onCompletion()
1397 f.completeExceptionally(new FJException()); in testCompleteExceptionally2CC()
DCountedCompleterTest.java306 completeExceptionally(ex);
365 a.completeExceptionally(null);
670 completeExceptionally(new FJException()); in onCompletion()
1084 f.completeExceptionally(ex); in testCompleteExceptionally2()
1786 f.completeExceptionally(ex); in testCompleteExceptionallySingleton()
DForkJoinPool19Test.java369 f.completeExceptionally(new FJException()); in testTimedQuietlyJoinUninterruptiblyInterrupts()
DRecursiveTaskTest.java728 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCompletableFutureTest.java57 future.completeExceptionally(new TestException()); in testExceptionNow_OnFail()
84 future.completeExceptionally(new TestException()); in testResultNow_OnFail()
109 future.completeExceptionally(new TestException()); in testState_OnFail()
DCompletionStageTest.java77 public void completeExceptionally(Throwable ex) { in completeExceptionally() method in CompletionStageTest.BaseStage
524 stage.completeExceptionally(expectedException); in testExceptionallyAsync()
550 stage.completeExceptionally(expectedException); in testExceptionallyAsyncWithExecutor()
575 stage.completeExceptionally(expectedException); in testExceptionallyCompose()
599 stage.completeExceptionally(expectedException); in testExceptionallyComposeAsync()
625 stage.completeExceptionally(expectedException); in testExceptionallyComposeAsyncWithExecutor()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java243 f.completeExceptionally(ex);
280 f.completeExceptionally(new CFException());
308 f.completeExceptionally(ex = new CFException());
313 f.completeExceptionally(new CFException());
355 assertTrue(f.completeExceptionally(new IndexOutOfBoundsException()));
878 if (!createIncomplete) f.completeExceptionally(ex);
886 if (createIncomplete) f.completeExceptionally(ex);
903 if (!createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
911 if (createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
956 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/annotations/flagged_api/java/util/concurrent/
DForkJoinTask.annotated.java59 public void completeExceptionally(java.lang.Throwable ex) { throw new RuntimeException("Stub!"); } in completeExceptionally() method in ForkJoinTask
DCompletableFuture.annotated.java68 public boolean completeExceptionally(java.lang.Throwable ex) { throw new RuntimeException("Stub!");… in completeExceptionally() method in CompletableFuture
/libcore/ojluni/src/main/java/java/util/concurrent/
DSubmissionPublisher.java945 status.completeExceptionally(ex); in onError()
955 status.completeExceptionally(ex); in onNext()
DForkJoinTask.java938 public void completeExceptionally(Throwable ex) { in completeExceptionally() method in ForkJoinTask
DCompletableFuture.java2167 public boolean completeExceptionally(Throwable ex) { in completeExceptionally() method in CompletableFuture
2908 f.completeExceptionally(new TimeoutException()); in run()
2955 @Override public boolean completeExceptionally(Throwable ex) { in completeExceptionally() method in CompletableFuture.MinimalStage
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java68 public boolean completeExceptionally(java.lang.Throwable ex) { throw new RuntimeException("Stub!");… in completeExceptionally() method in CompletableFuture
/libcore/api/
Dcurrent.txt15552 method public boolean completeExceptionally(Throwable);
16184 method public void completeExceptionally(Throwable);