You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2008/05/05 22:33:36 UTC
svn commit: r653587 -
/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/Functor.java
Author: sebb
Date: Mon May 5 13:33:36 2008
New Revision: 653587
URL: http://svn.apache.org/viewvc?rev=653587&view=rev
Log:
Include the missing method name in the log message
Modified:
jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/Functor.java
Modified: jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/Functor.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/Functor.java?rev=653587&r1=653586&r2=653587&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/Functor.java (original)
+++ jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/reflect/Functor.java Mon May 5 13:33:36 2008
@@ -245,8 +245,10 @@
try {
Method method = doCreateMethod(_class , argTypes);
if (method == null){
- log.error("Can't find method "+_class+typesToString(argTypes));
- throw new JMeterError("Can't find method "+_class+typesToString(argTypes));
+ final String message = "Can't find method "
+ +_class.getName()+"#"+methodName+typesToString(argTypes);
+ log.error(message, new Throwable());
+ throw new JMeterError(message);
}
return method.invoke(_invokee, _args);
} catch (Exception e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org