From 51ca03348c606252605b7c0d37583de645732dba Mon Sep 17 00:00:00 2001 From: Ryan Gustafson Date: Sat, 18 Oct 2008 21:19:11 +0000 Subject: [PATCH] Better exception handling. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6637 51baf565-9d33-0410-a72c-fc3788e3496d --- .../net/sourceforge/pmd/typeresolution/PMDASMClassLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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