cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r554581 - in /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11: Messages.properties WSDLDefinitionBuilder.java
Date Mon, 09 Jul 2007 09:17:50 GMT
Author: ema
Date: Mon Jul  9 02:17:49 2007
New Revision: 554581

URL: http://svn.apache.org/viewvc?view=rev&rev=554581
Log:
Enhanced error message when tools fail to parse a wsdl

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties?view=diff&rev=554581&r1=554580&r2=554581
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties (original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties Mon
Jul  9 02:17:49 2007
@@ -26,4 +26,4 @@
 EXTENSION_ADD_FAILED_MSG = Failed to add extension element.
 SERVICE_CREATION_MSG = Failed to create service.
 NO_SUCH_SERVICE_EXC = Could not find definition for service {0}.
-FAIL_TO_CREATE_WSDL_DEFINITION = Fail to create wsdl definition {0}
+FAIL_TO_CREATE_WSDL_DEFINITION = Fail to create wsdl definition from : {0}\r\nCaused by :
{1} 

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java?view=diff&rev=554581&r1=554580&r2=554581
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLDefinitionBuilder.java
Mon Jul  9 02:17:49 2007
@@ -119,7 +119,8 @@
         } catch (Exception we) {
             Message msg = new Message("FAIL_TO_CREATE_WSDL_DEFINITION",
                                       LOG, 
-                                      wsdlURL);
+                                      wsdlURL,
+                                      we.getMessage());
             throw new RuntimeException(msg.toString(), we);
         }
     }



Mime
View raw message