Print the class name correctly.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@809562 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2009-08-31 12:43:17 +00:00
parent 3472e6aeae
commit 771a0b47ce
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ public class AttributeSource {
try { try {
return (AttributeImpl) getClassForInterface(attClass).newInstance(); return (AttributeImpl) getClassForInterface(attClass).newInstance();
} catch (InstantiationException e) { } catch (InstantiationException e) {
throw new IllegalArgumentException("Could not instantiate class " + attClass); throw new IllegalArgumentException("Could not instantiate class " + attClass.getName());
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
throw new IllegalArgumentException("Could not instantiate class " + attClass); throw new IllegalArgumentException("Could not instantiate class " + attClass.getName());
} }
} }