Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java267 f.completeExceptionally(ex);
304 f.completeExceptionally(new CFException());
332 f.completeExceptionally(new CFException());
337 f.completeExceptionally(new CFException());
382 assertTrue(f.completeExceptionally(new IndexOutOfBoundsException()));
974 if (!createIncomplete) f.completeExceptionally(ex);
982 if (createIncomplete) f.completeExceptionally(ex);
1000 if (!createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
1008 if (createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
1053 if (!createIncomplete) f.completeExceptionally(ex); in testWhenComplete_exceptionalCompletion()
[all …]
DForkJoinTaskTest.java282 super.completeExceptionally(ex);
287 completeExceptionally(new FJException());
306 p.completeExceptionally(rex);
313 public final void completeExceptionally(Throwable ex) {
318 s.completeExceptionally(ex);
406 completeExceptionally(new FJException());
793 f.completeExceptionally(new FJException());
812 f.completeExceptionally(null);
1483 f.completeExceptionally(new FJException());
DForkJoinTask8Test.java270 super.completeExceptionally(ex);
275 completeExceptionally(new FJException());
295 p.completeExceptionally(rex);
302 public final void completeExceptionally(Throwable ex) {
307 s.completeExceptionally(ex);
396 completeExceptionally(new FJException());
787 f.completeExceptionally(new FJException());
DRecursiveActionTest.java312 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
341 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
367 fibActions[2].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
369 fibActions[5].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
861 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
DForkJoinPool8Test.java323 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
352 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
680 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
981 completeExceptionally(new FJException()); in onCompletion()
1328 f.completeExceptionally(new FJException()); in testCompleteExceptionally2CC()
DCountedCompleterTest.java294 completeExceptionally(ex);
350 a.completeExceptionally(null);
644 completeExceptionally(new FJException()); in onCompletion()
1033 f.completeExceptionally(ex); in testCompleteExceptionally2()
1698 f.completeExceptionally(ex); in testCompleteExceptionallySingleton()
DRecursiveTaskTest.java689 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
/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/luni/src/test/java/libcore/java/util/concurrent/
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/ojluni/src/main/java/java/util/concurrent/
DSubmissionPublisher.java945 status.completeExceptionally(ex); in onError()
955 status.completeExceptionally(ex); in onNext()
DForkJoinTask.java930 public void completeExceptionally(Throwable ex) { in completeExceptionally() method in ForkJoinTask
DCompletableFuture.java2135 public boolean completeExceptionally(Throwable ex) { in completeExceptionally() method in CompletableFuture
2862 f.completeExceptionally(new TimeoutException()); in run()
2905 @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.txt15401 method public boolean completeExceptionally(Throwable);
16024 method public void completeExceptionally(Throwable);