mirror of https://github.com/apache/lucene.git
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:
parent
646d2f50dc
commit
972ed36266
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue