日志中的类名不对

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@250 1a56cb94-b969-4eaa-88fa-be21384802f2
This commit is contained in:
ding.lid 2011-11-11 06:56:32 +00:00
parent 0dc490757a
commit 7e6a502ba3
1 changed files with 2 additions and 2 deletions

View File

@ -317,11 +317,11 @@ public class ExtensionLoader<T> {
clazz.getConstructor();
Extension extension = clazz.getAnnotation(Extension.class);
if (extension == null) {
throw new IllegalStateException("No such @Extension annotation in class " + type.getName());
throw new IllegalStateException("No such @Extension annotation in class " + clazz.getName());
}
String name = extension.value();
if (name == null || name.length() == 0) {
throw new IllegalStateException("Illegal @Extension annotation in class " + type.getName());
throw new IllegalStateException("Illegal @Extension annotation in class " + clazz.getName());
}
String[] names = NAME_SEPARATOR.split(name);
for (String n : names) {