Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
for(Throwable t : e) {
System.out.println("Throwable: " + t);
Throwable cause = t.getCause();
while (cause != null) {
System.out.println("Cause: " + cause);
cause = cause.getCause();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.