From: Adrian B. <ej...@us...> - 2003-08-30 22:07:05
|
User: ejort Date: 03/08/30 15:07:04 Modified: src/main/org/jboss/mx/capability Tag: Branch_3_2 ReflectedMBeanDispatcher.java Log: Fix a misleading error message. It is the operation that is not found, the method may exist Revision Changes Path No revision No revision 1.3.8.2 +2 -2 jmx/src/main/org/jboss/mx/capability/ReflectedMBeanDispatcher.java Index: ReflectedMBeanDispatcher.java =================================================================== RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/capability/ReflectedMBeanDispatcher.java,v retrieving revision 1.3.8.1 retrieving revision 1.3.8.2 diff -u -r1.3.8.1 -r1.3.8.2 --- ReflectedMBeanDispatcher.java 22 Apr 2003 10:16:48 -0000 1.3.8.1 +++ ReflectedMBeanDispatcher.java 30 Aug 2003 22:07:04 -0000 1.3.8.2 @@ -285,11 +285,11 @@ } catch (NullPointerException e) { - throw new ReflectionException(new NoSuchMethodException("Unable to locate method for: " + opKeyString(actionName, signature))); + throw new ReflectionException(new NoSuchMethodException("Unable to locate MBean operation for: " + opKeyString(actionName, signature))); } catch (ArrayIndexOutOfBoundsException e) { - throw new ReflectionException(new NoSuchMethodException("Unable to locate method for: " + opKeyString(actionName, signature))); + throw new ReflectionException(new NoSuchMethodException("Unable to locate MBean operation for: " + opKeyString(actionName, signature))); } catch (InvocationTargetException e) { |