jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1329485 - /jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java
Date Mon, 23 Apr 2012 22:26:14 GMT
Author: sebb
Date: Mon Apr 23 22:26:14 2012
New Revision: 1329485

URL: http://svn.apache.org/viewvc?rev=1329485&view=rev
Log:
No need to catch Throwable

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java?rev=1329485&r1=1329484&r2=1329485&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/junit/JMeterTest.java Mon Apr 23 22:26:14 2012
@@ -500,7 +500,7 @@ public class JMeterTest extends JMeterTe
                 in.close();
                 assertEquals("deserializing class: " + serObj.getClass().getName(), serObj.getClass(),
readObject
                         .getClass());
-            } catch (Throwable e) {
+            } catch (Exception e) {
                 fail("serialization of " + serObj.getClass().getName() + " failed: " + e);
             }
         }



Mime
View raw message