Handle cases where UncheckedExecutionException wraps both checked and unchecked exception