Created
January 17, 2013 14:24
-
-
Save eranharel/4556258 to your computer and use it in GitHub Desktop.
try catch anti-patterns continued
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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