Searched refs:failedFuture (Results 1 – 5 of 5) sorted by relevance
186 public static <U> java.util.concurrent.CompletableFuture<U> failedFuture(java.lang.Throwable ex) { … in failedFuture() method in CompletableFuture
13 import static java.util.concurrent.CompletableFuture.failedFuture;3317 () -> CompletableFuture.failedFuture(null), in testNPE()3385 CompletableFuture<Integer> f = CompletableFuture.failedFuture(ex); in testFailedFuture()3394 CompletableFuture<Integer> f = CompletableFuture.failedFuture(null); in testFailedFuture_null()3806 return failedFuture(new ZeroException()); in zero()
40 import static java.util.concurrent.CompletableFuture.failedFuture;3575 () -> CompletableFuture.failedFuture(null), in testNPE()3780 CompletableFuture<Item> f = CompletableFuture.failedFuture(ex); in testFailedFuture()4370 return failedFuture(new ZeroException()); in zero()
2784 public static <U> CompletableFuture<U> failedFuture(Throwable ex) { in failedFuture() method in CompletableFuture
15415 method public static <U> java.util.concurrent.CompletableFuture<U> failedFuture(Throwable);