Skip to content

Instantly share code, notes, and snippets.

@eranharel
Created January 17, 2013 14:24
Show Gist options
  • Save eranharel/4556258 to your computer and use it in GitHub Desktop.
Save eranharel/4556258 to your computer and use it in GitHub Desktop.
try catch anti-patterns continued
try {
...
try {
...
} catch (final Throwable t) {
logger.error("...", t);
throw new RuntimeException(msg, t);
}
} catch (final Throwable t) {
logger.error("..", t);
throw new RuntimeException(msg, t);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment