Code example for ExecutionException

0
 
    private T result() throws ExecutionException 
    { 
        Throwable failure = this.failure;
        if (failure != null)
            throw new ExecutionException(failure);
        return promise;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java