Skip to content
Permalink
Browse files

Add better logging when the NoClassDefError is thrown

  • Loading branch information...
LadyCailin committed Apr 9, 2019
1 parent 3e28991 commit 8daf8b7ae90787e87a7773f269676d9ca273dcfb
@@ -457,7 +457,7 @@ public MethodMirror getMethod(String name, ClassReferenceMirror<?>... params) th
try {
return info.classReferenceMirror.loadClass();
} catch (ClassNotFoundException ex) {
throw new NoClassDefFoundError();
throw new NoClassDefFoundError(ex.getMessage());
}
}

0 comments on commit 8daf8b7

Please sign in to comment.
You can’t perform that action at this time.