Returns a new CompletableFuture that is already completed exceptionally with the given exception.
Parameters:
ex
<U>
Returns: the exceptionally completed CompletableFuture
Since: 9
Diagram: Future