Skip to content

Instantly share code, notes, and snippets.

@KowalczykBartek
Created March 1, 2015 20:49
Show Gist options
  • Save KowalczykBartek/a08eb01cbf65fba26b1d to your computer and use it in GitHub Desktop.
Save KowalczykBartek/a08eb01cbf65fba26b1d to your computer and use it in GitHub Desktop.
public void rethrowException(String exceptionName)
throws FirstException, SecondException {
try {
// ...
}
catch (Exception e) {
throw e;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment