NoClassDefFoundError exception caught to prevent pmd from exiting on type resolver issues

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4952 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2007-01-18 01:23:55 +00:00
parent 85b2f45b0b
commit 33a6d45cd1

View File

@ -46,6 +46,8 @@ public class ClassTypeResolver extends JavaParserVisitorAdapter {
populateClassName(node);
} catch (ClassNotFoundException e) {
populateImports(node);
} catch (NoClassDefFoundError e) {
populateImports(node);
}
return super.visit(node, data);
}