forked from phoedos/pmd
Enhanced logging in the ClassTypeResolver to provide more detailed messaging.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6632 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
06bb1a6f27
commit
41d0550d99
@ -1,5 +1,6 @@
|
||||
???? - 4.2.5:
|
||||
|
||||
Enhanced logging in the ClassTypeResolver to provide more detailed messaging.
|
||||
|
||||
October 12, 2008 - 4.2.4:
|
||||
|
||||
|
@ -146,11 +146,11 @@ public class ClassTypeResolver extends JavaParserVisitorAdapter {
|
||||
populateClassName(node, className);
|
||||
}
|
||||
} catch (ClassNotFoundException e) {
|
||||
LOG.log(Level.FINE, "Could not find class " + className);
|
||||
LOG.log(Level.FINE, "Could not find class " + className + ", due to: " + e.getClass().getName() + ": " + e.getMessage());
|
||||
} catch (NoClassDefFoundError e) {
|
||||
LOG.log(Level.WARNING, "Could not find class " + className);
|
||||
LOG.log(Level.WARNING, "Could not find class " + className + ", due to: " + e.getClass().getName() + ": " + e.getMessage());
|
||||
} catch (ClassFormatError e) {
|
||||
LOG.log(Level.WARNING, "Could not find class " + className);
|
||||
LOG.log(Level.WARNING, "Could not find class " + className + ", due to: " + e.getClass().getName() + ": " + e.getMessage());
|
||||
} finally {
|
||||
populateImports(node);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user