jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1543140 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
Date Mon, 18 Nov 2013 20:23:55 GMT
Author: pmouawad
Date: Mon Nov 18 20:23:55 2013
New Revision: 1543140

URL: http://svn.apache.org/r1543140
Log:
Add exception message for more detail on failure

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java?rev=1543140&r1=1543139&r2=1543140&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java
Mon Nov 18 20:23:55 2013
@@ -507,17 +507,17 @@ public class ProxyControlGui extends Log
             }
         } catch (InvalidVariableException e) {
             JOptionPane.showMessageDialog(this,
-                    JMeterUtils.getResString("invalid_variables"), // $NON-NLS-1$
+                    JMeterUtils.getResString("invalid_variables")+":"+e.getMessage(), //
$NON-NLS-1$ $NON-NLS-2$
                     JMeterUtils.getResString("error_title"), // $NON-NLS-1$
                     JOptionPane.ERROR_MESSAGE);
         } catch (BindException e) {
             JOptionPane.showMessageDialog(this,
-                    JMeterUtils.getResString("proxy_daemon_bind_error"), // $NON-NLS-1$
+                    JMeterUtils.getResString("proxy_daemon_bind_error")+":"+e.getMessage(),
// $NON-NLS-1$ $NON-NLS-2$
                     JMeterUtils.getResString("error_title"), // $NON-NLS-1$
                     JOptionPane.ERROR_MESSAGE);
         } catch (IOException e) {
             JOptionPane.showMessageDialog(this,
-                    JMeterUtils.getResString("proxy_daemon_error"), // $NON-NLS-1$
+                    JMeterUtils.getResString("proxy_daemon_error")+":"+e.getMessage(), //
$NON-NLS-1$ $NON-NLS-2$
                     JMeterUtils.getResString("error_title"), // $NON-NLS-1$
                     JOptionPane.ERROR_MESSAGE);
         } finally {



Mime
View raw message