Author: dkulp
Date: Fri Dec 21 15:22:54 2012
New Revision: 1424963

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

........
  r1424956 | dkulp | 2012-12-21 10:20:12 -0500 (Fri, 21 Dec 2012) | 10 lines

  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.5.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/AbstractPolicyInterceptor.java

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


Reply via email to