Apache Lucene open-source search software
Print the class name correctly.
Uwe Schindler771a0b47cef5
diff --git a/src/java/org/apache/lucene/util/AttributeSource.java b/src/java/org/apache/lucene/util/AttributeSource.javaindex aff94421650..a92716cbf72 100644--- a/src/java/org/apache/lucene/util/AttributeSource.java+++ b/src/java/org/apache/lucene/util/AttributeSource.java@@ -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());}}