cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r551481 - /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java
Date Thu, 28 Jun 2007 07:16:34 GMT
Author: ningjiang
Date: Thu Jun 28 00:16:33 2007
New Revision: 551481

URL: http://svn.apache.org/viewvc?view=rev&rev=551481
Log:
CXF-425 rethrow the exception that catch from chain.doIntercept(faultMessage); 

Modified:
    incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.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=551481&r1=551480&r2=551481
==============================================================================
--- 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
Thu Jun 28 00:16:33 2007
@@ -85,7 +85,8 @@
         try {
             chain.doIntercept(faultMessage);
         } catch (Exception exc) {
-            LogUtils.log(LOG, Level.INFO, "Error occured during error handling, give up!",
exc);
+            LogUtils.log(LOG, Level.SEVERE, "Error occured during error handling, give up!",
exc);
+            throw new RuntimeException(exc.getCause());
         }
     }
 



Mime
View raw message