diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-16 11:46:19 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-16 11:46:19 +0000 |
commit | 74858cb30ea577f8c3a05cdb62c1efa1a4d2e530 (patch) | |
tree | 7223269d87d349d3cd5311329b1e36874cddf7c0 /java/sca/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/BindingWSDLGenerator.java | |
parent | 30489192b44410a9e2588f3726792278016c551c (diff) |
Updates for JCA_10046 - have good msg when exception generating wsdl from bad interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | java/sca/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/BindingWSDLGenerator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/BindingWSDLGenerator.java b/java/sca/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/BindingWSDLGenerator.java index f1b4942c92..67a165f1f5 100644 --- a/java/sca/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/BindingWSDLGenerator.java +++ b/java/sca/modules/binding-ws-wsdlgen/src/main/java/org/apache/tuscany/sca/binding/ws/wsdlgen/BindingWSDLGenerator.java @@ -169,13 +169,13 @@ public class BindingWSDLGenerator { } } else if (ex.getCause() instanceof Exception) { warning(monitor, "WsdlGenException", wsBinding, component.getName(), contract.getName()); - error(monitor, "UnexpectedException", wsBinding, (Exception)ex.getCause()); + error(monitor, "WsdlGenException2", wsBinding, (Exception)ex.getCause()); } else { // should never happen throw new IllegalStateException(ex); } } catch (RuntimeException ex) { warning(monitor, "WsdlGenException", wsBinding, component.getName(), contract.getName()); - error(monitor, "UnexpectedException", wsBinding, ex); + error(monitor, "WsdlGenException2", wsBinding, ex.getMessage()); } } |