cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1424956 - /cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
Date Fri, 21 Dec 2012 15:20:12 GMT
Author: dkulp
Date: Fri Dec 21 15:20:12 2012
New Revision: 1424956

URL: http://svn.apache.org/viewvc?rev=1424956&view=rev
Log:
Merged revisions 1424949 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1424949 | dkulp | 2012-12-21 10:17:06 -0500 (Fri, 21 Dec 2012) | 2 lines

  PolicyException is unchecked and can be thrown directly and PhaseInterceptorChain will wrap
it with a fault.

........

Modified:
    cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java

Modified: cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java?rev=1424956&r1=1424955&r2=1424956&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
(original)
+++ cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java
Fri Dec 21 15:20:12 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