Skip to content

Instantly share code, notes, and snippets.

@sebersole
Created July 6, 2015 21:06
Show Gist options
  • Save sebersole/912198fdee1ec5acde85 to your computer and use it in GitHub Desktop.
Save sebersole/912198fdee1ec5acde85 to your computer and use it in GitHub Desktop.
catch (final Exception e) {
throw new IllegalClassFormatException( "Error performing enhancement" ) {
@Override
public synchronized Throwable getCause() {
return e;
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment