cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1158144 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformOutInterceptor.java
Date Tue, 16 Aug 2011 08:13:52 GMT
Author: ay
Date: Tue Aug 16 08:13:51 2011
New Revision: 1158144

URL: http://svn.apache.org/viewvc?rev=1158144&view=rev
Log:
[CXF-3744] fixing TransformOutInterceptor's fault case handling

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformOutInterceptor.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformOutInterceptor.java?rev=1158144&r1=1158143&r2=1158144&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformOutInterceptor.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/transform/TransformOutInterceptor.java
Tue Aug 16 08:13:51 2011
@@ -81,6 +81,10 @@ public class TransformOutInterceptor ext
             return;
         }
         
+        if (null != message.getContent(Exception.class)) {
+            return;
+        }
+        
         XMLStreamWriter writer = message.getContent(XMLStreamWriter.class);
         OutputStream out = message.getContent(OutputStream.class);
         



Mime
View raw message