jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1067027 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RemoteStart.java
Date Thu, 03 Feb 2011 23:16:05 GMT
Author: sebb
Date: Thu Feb  3 23:16:05 2011
New Revision: 1067027

URL: http://svn.apache.org/viewvc?rev=1067027&view=rev
Log:
Ensure we report IllegalStateException

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RemoteStart.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RemoteStart.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RemoteStart.java?rev=1067027&r1=1067026&r2=1067027&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RemoteStart.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RemoteStart.java Thu Feb  3
23:16:05 2011
@@ -147,6 +147,8 @@ public class RemoteStart extends Abstrac
         if (engine != null) {
             try {
                 engine.runTest();
+            } catch (IllegalStateException e) {
+                JMeterUtils.reportErrorToUser(e.getMessage(),JMeterUtils.getResString("remote_error_starting"));
// $NON-NLS-1$
             } catch (JMeterEngineException e) {
                 JMeterUtils.reportErrorToUser(e.getMessage(),JMeterUtils.getResString("remote_error_starting"));
// $NON-NLS-1$
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message