cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1528761 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Date Thu, 03 Oct 2013 09:03:41 GMT
Author: coheigea
Date: Thu Oct  3 09:03:40 2013
New Revision: 1528761

URL: http://svn.apache.org/r1528761
Log:
[CXF-5317] - Policy exception handler throws away useful exception stack trace

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java?rev=1528761&r1=1528760&r2=1528761&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
Thu Oct  3 09:03:40 2013
@@ -322,7 +322,7 @@ public abstract class AbstractBindingBui
             }
         }
         if (!assertion.isOptional()) {
-            throw new PolicyException(new Message(reason.getMessage(), LOG));
+            throw new PolicyException(new Message(reason.getMessage(), LOG), reason);
         }
     }
     



Mime
View raw message