revert VirtualMethod exception name, it was correct

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2010-05-30 17:52:24 +00:00
parent 646d2f50dc
commit 972ed36266
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ public final class VirtualMethod<C> {
"VirtualMethod instances must be singletons and therefore " +
"assigned to static final members in the same class, they use as baseClass ctor param."
);
} catch (NoSuchMethodException name) {
throw new IllegalArgumentException(baseClass.getName() + " has no such method: "+name.getMessage());
} catch (NoSuchMethodException nsme) {
throw new IllegalArgumentException(baseClass.getName() + " has no such method: "+nsme.getMessage());
}
}