axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damr...@apache.org
Subject svn commit: r638853 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
Date Wed, 19 Mar 2008 15:00:54 GMT
Author: damrhei
Date: Wed Mar 19 08:00:50 2008
New Revision: 638853

URL: http://svn.apache.org/viewvc?rev=638853&view=rev
Log:
Make sure that when the HandlerInvokerUtils creates an AxisFault within the invokeOutboundHandlers
method it does so with a valid 'reason' message.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java?rev=638853&r1=638852&r2=638853&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/handler/HandlerInvokerUtils.java
Wed Mar 19 08:00:50 2008
@@ -126,10 +126,10 @@
              */
             HandlerChainProcessor.convertToFaultMessage(mepMessageCtx, re, proto);
             if (mepMessageCtx.getRequestMessageContext() != null) {
-                mepMessageCtx.getRequestMessageContext().setCausedByException(new AxisFault("",
re));
+                mepMessageCtx.getRequestMessageContext().setCausedByException(new AxisFault(re.getMessage(),
re));
             }
             if (mepMessageCtx.getResponseMessageContext() != null) {
-                mepMessageCtx.getResponseMessageContext().setCausedByException(new AxisFault("",
re));
+                mepMessageCtx.getResponseMessageContext().setCausedByException(new AxisFault(re.getMessage(),
re));
             }
             return false;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message