diff --git a/pmd/src/net/sourceforge/pmd/typeresolution/PMDASMClassLoader.java b/pmd/src/net/sourceforge/pmd/typeresolution/PMDASMClassLoader.java index 810be14a76..0fc7eb2ec2 100644 --- a/pmd/src/net/sourceforge/pmd/typeresolution/PMDASMClassLoader.java +++ b/pmd/src/net/sourceforge/pmd/typeresolution/PMDASMClassLoader.java @@ -50,7 +50,7 @@ public class PMDASMClassLoader extends ClassLoader { return asmVisitor.getPackages(); } catch (IOException e) { dontBother.add(name); - throw new ClassNotFoundException(name); + throw new ClassNotFoundException(name, e); } } } \ No newline at end of file