Last active
June 7, 2016 22:49
-
-
Save m0wfo/6e6c6b26625f23cb18f7c167ead705cd to your computer and use it in GitHub Desktop.
This file contains 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 { | |
client.makeCall(someArgument); | |
} catch (IOException e) { | |
log.error("Couldn't make call!", e); | |
throw new RuntimeException(e); | |
} | |
// or if you like Guava and javac does too! | |
try { | |
client.makeCall(someArgument); | |
} catch (IOException e) { | |
log.error("Couldn't make call!", e); | |
Throwables.propagate(e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment