You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/12/20 13:53:56 UTC

svn commit: r1424441 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.java

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);
         }
     }