Skip to content

Instantly share code, notes, and snippets.

@m0wfo
Last active June 7, 2016 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m0wfo/6e6c6b26625f23cb18f7c167ead705cd to your computer and use it in GitHub Desktop.
Save m0wfo/6e6c6b26625f23cb18f7c167ead705cd to your computer and use it in GitHub Desktop.
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