cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1424949 - /cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
Date Fri, 21 Dec 2012 15:17:06 GMT
Author: dkulp
Date: Fri Dec 21 15:17:06 2012
New Revision: 1424949

URL: http://svn.apache.org/viewvc?rev=1424949&view=rev
Log:
PolicyException is unchecked and can be thrown directly and PhaseInterceptorChain will wrap
it with a fault.

Modified:
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java?rev=1424949&r1=1424948&r2=1424949&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
Fri Dec 21 15:17:06 2012
@@ -41,11 +41,7 @@ public abstract class AbstractPolicyInte
     }
     
     public void handleMessage(Message message) throws Fault {
-        try {
-            handle(message);
-        } catch (PolicyException ex) {
-            throw new Fault(ex);
-        }
+        handle(message);
     }
 
     protected void getTransportAssertions(Message message) {



Mime
View raw message