cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1445768 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Date Wed, 13 Feb 2013 17:50:52 GMT
Author: ay
Date: Wed Feb 13 17:50:52 2013
New Revision: 1445768

URL: http://svn.apache.org/r1445768
Log:
set exception before unwinding

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java?rev=1445768&r1=1445767&r2=1445768&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Wed Feb 13 17:50:52 2013
@@ -1123,8 +1123,8 @@ public abstract class HTTPConduit 
                         handleResponseInternal();
                     } catch (Throwable e) {
                         ((PhaseInterceptorChain)outMessage.getInterceptorChain()).abort();
-                        ((PhaseInterceptorChain)outMessage.getInterceptorChain()).unwind(outMessage);
                         outMessage.setContent(Exception.class, e);
+                        ((PhaseInterceptorChain)outMessage.getInterceptorChain()).unwind(outMessage);
                         MessageObserver mo = outMessage.getInterceptorChain().getFaultObserver();
                         if (mo == null) {
                             mo = outMessage.getExchange().get(MessageObserver.class);



Mime
View raw message