Better exception handling.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6637 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Ryan Gustafson
2008-10-18 21:19:11 +00:00
parent 41d0550d99
commit 51ca03348c

View File

@ -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);
}
}
}