Revision: 8317
Author: [email protected]
Date: Fri Jun 25 08:29:28 2010
Log: Improve error reporting in the case of an error by chaining the
exception.

Patch by: jat
Review by: rice

http://code.google.com/p/google-web-toolkit/source/detail?r=8317

Modified:
 /trunk/user/src/com/google/gwt/junit/JUnitShell.java

=======================================
--- /trunk/user/src/com/google/gwt/junit/JUnitShell.java Thu Jun 24 08:11:49 2010 +++ /trunk/user/src/com/google/gwt/junit/JUnitShell.java Fri Jun 25 08:29:28 2010
@@ -671,7 +671,7 @@
       try {
unitTestShell.options.setConnectAddress(InetAddress.getLocalHost().getHostAddress());
       } catch (UnknownHostException e) {
- throw new JUnitFatalLaunchException("Unable to resolve my address"); + throw new JUnitFatalLaunchException("Unable to resolve my address", e);
       }
       if (!unitTestShell.startUp()) {
         throw new JUnitFatalLaunchException("Shell failed to start");

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to