summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2011-10-19 16:06:57 +0000
committerscottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68>2011-10-19 16:06:57 +0000
commit5658d12b08618987cd5d787e29f615dd7ec64312 (patch)
treeb28cdd62c3ff468aa93fb9b1629fe49a618aae6d
parentc79fbcb63cc5b097533f0d36b43e4c32782c71b1 (diff)
Fix checked exception handling.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1186292 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java3
1 files changed, 2 insertions, 1 deletions
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);
}