qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rupertlssm...@apache.org
Subject svn commit: r562083 - /incubator/qpid/branches/M2/java/integrationtests/src/main/java/org/apache/qpid/test/framework/distributedtesting/TestClient.java
Date Thu, 02 Aug 2007 11:40:46 GMT
Author: rupertlssmith
Date: Thu Aug  2 04:40:45 2007
New Revision: 562083

URL: http://svn.apache.org/viewvc?view=rev&rev=562083
Log:
Fix for number format exception when message count not specified, as in interop tests.

Modified:
    incubator/qpid/branches/M2/java/integrationtests/src/main/java/org/apache/qpid/test/framework/distributedtesting/TestClient.java

Modified: incubator/qpid/branches/M2/java/integrationtests/src/main/java/org/apache/qpid/test/framework/distributedtesting/TestClient.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2/java/integrationtests/src/main/java/org/apache/qpid/test/framework/distributedtesting/TestClient.java?view=diff&rev=562083&r1=562082&r2=562083
==============================================================================
--- incubator/qpid/branches/M2/java/integrationtests/src/main/java/org/apache/qpid/test/framework/distributedtesting/TestClient.java
(original)
+++ incubator/qpid/branches/M2/java/integrationtests/src/main/java/org/apache/qpid/test/framework/distributedtesting/TestClient.java
Thu Aug  2 04:40:45 2007
@@ -378,7 +378,7 @@
                     {
                         numMessages = message.getIntProperty("MESSAGE_COUNT");
                     }
-                    catch (JMSException e)
+                    catch (NumberFormatException e)
                     {
                         // If the number of messages is not specified, use the default of
one.
                         numMessages = 1;



Mime
View raw message