mirror of https://github.com/apache/lucene.git
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:
parent
3472e6aeae
commit
771a0b47ce
|
@ -63,9 +63,9 @@ public class AttributeSource {
|
|||
try {
|
||||
return (AttributeImpl) getClassForInterface(attClass).newInstance();
|
||||
} catch (InstantiationException e) {
|
||||
throw new IllegalArgumentException("Could not instantiate class " + attClass);
|
||||
throw new IllegalArgumentException("Could not instantiate class " + attClass.getName());
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new IllegalArgumentException("Could not instantiate class " + attClass);
|
||||
throw new IllegalArgumentException("Could not instantiate class " + attClass.getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue