You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2006/05/08 01:27:21 UTC
svn commit: r404869 -
/incubator/tuscany/java/sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointInOutSyncMessageReceiver.java
Author: rineholt
Date: Sun May 7 16:27:20 2006
New Revision: 404869
URL: http://svn.apache.org/viewcvs?rev=404869&view=rev
Log:
http://issues.apache.org/jira/browse/TUSCANY-274
Modified:
incubator/tuscany/java/sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointInOutSyncMessageReceiver.java
Modified: incubator/tuscany/java/sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointInOutSyncMessageReceiver.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointInOutSyncMessageReceiver.java?rev=404869&r1=404868&r2=404869&view=diff
==============================================================================
--- incubator/tuscany/java/sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointInOutSyncMessageReceiver.java (original)
+++ incubator/tuscany/java/sca/bindings/binding.axis2/src/main/java/org/apache/tuscany/binding/axis2/entrypoint/WebServiceEntryPointInOutSyncMessageReceiver.java Sun May 7 16:27:20 2006
@@ -68,8 +68,20 @@
outMC.setEnvelope(soapEnvelope);
outMC.getOperationContext().setProperty(Constants.RESPONSE_WRITTEN, Constants.VALUE_TRUE);
+ } catch (InvocationRuntimeException e) {
+ // throw new InvocationRuntimeException(e);
+ Throwable t = e.getCause();
+ if(t instanceof Exception) {
+
+ throw AxisFault.makeFault((Exception)t);
+
+ }
+ throw e;
+
+
} catch (Exception e) {
- throw new InvocationRuntimeException(e);
+ throw AxisFault.makeFault(e);
}
+
}
}