You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2007/06/28 09:16:34 UTC

svn commit: r551481 - /incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/AbstractFaultChainInitiatorObserver.java

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());
         }
     }