cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sea...@apache.org
Subject svn commit: r691646 - /cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java
Date Wed, 03 Sep 2008 16:04:36 GMT
Author: seanoc
Date: Wed Sep  3 09:04:35 2008
New Revision: 691646

URL: http://svn.apache.org/viewvc?rev=691646&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/CXF-1365

Modified:
    cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java

Modified: cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java?rev=691646&r1=691645&r2=691646&view=diff
==============================================================================
--- cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java (original)
+++ cxf/trunk/tools/javato/ws/src/main/java/org/apache/cxf/tools/java2ws/JavaToWS.java Wed
Sep  3 09:04:35 2008
@@ -42,8 +42,8 @@
         JavaToWS j2w = new JavaToWS(args);
         try {
             j2w.run();
-        } catch (Exception ex) {
-            System.err.println("JavaToWS Error: " + ex.getMessage());
+        } catch (Throwable ex) {
+            System.err.println("JavaToWS Error: " + ex.toString());
             System.err.println();
             if (j2w.isVerbose()) {
                 ex.printStackTrace();



Mime
View raw message