2571 |
|
* Returns a new CompletableFuture that is already completed |
2572 |
|
* exceptionally with the given exception. |
2573 |
|
* |
2574 |
< |
* @param ex the ex |
2574 |
> |
* @param ex the exception |
2575 |
|
* @param <U> the type of the value |
2576 |
|
* @return the exceptionally completed CompletableFuture |
2577 |
|
* @since 1.9 |
2586 |
|
* exceptionally with the given exception and supports only those |
2587 |
|
* methods in interface {@link CompletionStage}. |
2588 |
|
* |
2589 |
< |
* @param ex the ex |
2589 |
> |
* @param ex the exception |
2590 |
|
* @param <U> the type of the value |
2591 |
|
* @return the exceptionally completed CompletionStage |
2592 |
|
* @since 1.9 |