jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1531641 - /jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java
Date Sun, 13 Oct 2013 08:59:24 GMT
Author: pmouawad
Date: Sun Oct 13 08:59:23 2013
New Revision: 1531641

URL: http://svn.apache.org/r1531641
Log:
Bug 55623 - Invalid/unexpected configuration values should not be silently ignored 
Bugzilla Id: 55623

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java?rev=1531641&r1=1531640&r2=1531641&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleSenderFactory.java Sun Oct 13 08:59:23
2013
@@ -95,8 +95,9 @@ public class SampleSenderFactory {
                 s = (SampleSender) cons.newInstance(new Object [] {listener});
             } catch (Exception e) {
                 // houston we have a problem !!
-                log.error("Unable to create a sample sender from class "+type);
-                throw new IllegalArgumentException(e.getMessage(), e);
+                log.error("Unable to create a sample sender from class:'"+type+"', search
for mode property in jmeter.properties for correct configuration options");
+                throw new IllegalArgumentException("Unable to create a sample sender from
mode or class:'"
+                		+type+"', search for mode property in jmeter.properties for correct configuration
options, message:"+e.getMessage(), e);
             }
 
             return s;



Mime
View raw message