jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380537 - /jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java
Date Tue, 04 Sep 2012 10:46:34 GMT
Author: pmouawad
Date: Tue Sep  4 10:46:33 2012
New Revision: 1380537

URL: http://svn.apache.org/viewvc?rev=1380537&view=rev
Log:
Cascade exceptions

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java?rev=1380537&r1=1380536&r2=1380537&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/engine/RemoteJMeterEngineImpl.java Tue Sep  4
10:46:33 2012
@@ -93,7 +93,7 @@ public final class RemoteJMeterEngineImp
                 localHost = InetAddress.getByName(host);
             }
         } catch (UnknownHostException e1) {
-            throw new RemoteException("Cannot start. Unable to get local host IP address.");
+            throw new RemoteException("Cannot start. Unable to get local host IP address.",
e1);
         }
         log.info("IP address="+localHost.getHostAddress());
         String hostName = localHost.getHostName();
@@ -125,7 +125,7 @@ public final class RemoteJMeterEngineImp
         } catch (Exception ex) {
             log.error("rmiregistry needs to be running to start JMeter in server " + "mode\n\t"
+ ex.toString());
             // Throw an Exception to ensure caller knows ...
-            throw new RemoteException("Cannot start. See server log file.");
+            throw new RemoteException("Cannot start. See server log file.", ex);
         }
     }
 



Mime
View raw message