From 5658d12b08618987cd5d787e29f615dd7ec64312 Mon Sep 17 00:00:00 2001 From: scottkurz Date: Wed, 19 Oct 2011 16:06:57 +0000 Subject: Fix checked exception handling. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1186292 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src') diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java index 18d24989d2..2a04845e6d 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java @@ -180,7 +180,8 @@ public class JAXWSBindingInvoker implements Invoker, DataExchangeSemantics { if (detail != null) { for (Iterator i = detail.getDetailEntries(); i.hasNext();) { DetailEntry entry = (DetailEntry)i.next(); - FaultException fe = new FaultException(e.getMessage(), entry.getFirstChild(), e); + //FaultException fe = new FaultException(e.getMessage(), entry.getFirstChild(), e); + FaultException fe = new FaultException(e.getMessage(), entry, e); fe.setFaultName(entry.getElementQName()); msg.setFaultBody(fe); } -- cgit v1.2.3