Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes b4e46c996 -> 67a469588


Minor change:fix log usage


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/67a46958
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/67a46958
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/67a46958

Branch: refs/heads/3.0.x-fixes
Commit: 67a469588ef287aa9c423b271552befaf5a3a243
Parents: b4e46c9
Author: Jim Ma <[email protected]>
Authored: Thu Jan 22 11:43:35 2015 +0800
Committer: Jim Ma <[email protected]>
Committed: Thu Jan 22 11:47:38 2015 +0800

----------------------------------------------------------------------
 .../org/apache/cxf/ws/policy/PolicyVerificationInInterceptor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/67a46958/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyVerificationInInterceptor.java
----------------------------------------------------------------------
diff --git 
a/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyVerificationInInterceptor.java
 
b/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyVerificationInInterceptor.java
index a8f9ca9..f2fedd8 100644
--- 
a/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyVerificationInInterceptor.java
+++ 
b/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyVerificationInInterceptor.java
@@ -104,7 +104,7 @@ public class PolicyVerificationInInterceptor extends 
AbstractPolicyInterceptor {
                 message.getExchange().put("ws-policy.validated.alternatives", 
usedAlternatives);
             }
         } catch (PolicyException ex) {
-            LOG.log(Level.SEVERE, "Inbound policy verification failed: " + 
ex.getMessage(), e);
+            LOG.log(Level.SEVERE, "Inbound policy verification failed: " + 
ex.getMessage());
             //To check if there is ws addressing policy violation and throw 
WSA specific 
             //exception to pass jaxws2.2 tests
             if (ex.getMessage().indexOf("Addressing") > -1) {

Reply via email to