- if (e instanceof ExecutionException && e.getCause() != null) {
- if (exceptionType.isAssignableFrom(e.getCause().getClass())) {
- return (X) e.getCause();
+ if (input instanceof ExecutionException && input.getCause() != null) {
+ if (exceptionType.isAssignableFrom(input.getCause().getClass())) {
+ return (X) input.getCause();