cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r541961 - in /incubator/cxf/trunk/rt: core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java
Date Sun, 27 May 2007 02:35:18 GMT
Author: dkulp
Date: Sat May 26 19:35:17 2007
New Revision: 541961

URL: http://svn.apache.org/viewvc?view=rev&rev=541961
Log:
Remove some assertions that aren't valid when handlers are handling exception cases

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java

Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java?view=diff&rev=541961&r1=541960&r2=541961
==============================================================================
--- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java
(original)
+++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java
Sat May 26 19:35:17 2007
@@ -68,7 +68,6 @@
             if (null != mode) {
                 faultMessage.put(FaultMode.class, mode);
             }
-            assert exchange.get(Exception.class) == ex;
             exchange.setOutMessage(null);
             exchange.setOutFaultMessage(faultMessage);
         } else {

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java?view=diff&rev=541961&r1=541960&r2=541961
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/logical/LogicalHandlerFaultOutInterceptor.java
Sat May 26 19:35:17 2007
@@ -125,7 +125,6 @@
                 if (null != mode) {
                     faultMessage.put(FaultMode.class, mode);
                 }
-                assert exchange.get(Exception.class) == ex;
                 exchange.setOutMessage(null);
                 exchange.setOutFaultMessage(faultMessage);
             



Mime
View raw message