jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1424441 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
Date Thu, 20 Dec 2012 12:53:56 GMT
Author: pmouawad
Date: Thu Dec 20 12:53:55 2012
New Revision: 1424441

URL: http://svn.apache.org/viewvc?rev=1424441&view=rev
Log:
Restrict exception

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java?rev=1424441&r1=1424440&r2=1424441&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java
Thu Dec 20 12:53:55 2012
@@ -18,6 +18,7 @@
 
 package org.apache.jmeter.protocol.http.proxy;
 
+import java.io.IOException;
 import java.lang.reflect.Modifier;
 import java.util.HashMap;
 import java.util.List;
@@ -80,7 +81,7 @@ public class SamplerCreatorFactory {
                     log.error("Exception registering "+SamplerCreator.class.getName() + "
with implementation:"+strClassName, e);
                 }
             }
-        } catch (Exception e) {
+        } catch (IOException e) {
             log.error("Exception finding implementations of "+SamplerCreator.class, e);
         }
     }



Mime
View raw message