You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2013/10/18 14:46:54 UTC

svn commit: r1533423 - /webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java

Author: coheigea
Date: Fri Oct 18 12:46:54 2013
New Revision: 1533423

URL: http://svn.apache.org/r1533423
Log:
Pass in the params so the error message is correct


Conflicts:
	src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java

Modified:
    webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java

Modified: webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java?rev=1533423&r1=1533422&r2=1533423&view=diff
==============================================================================
--- webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java (original)
+++ webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/token/SecurityTokenReference.java Fri Oct 18 12:46:54 2013
@@ -90,7 +90,7 @@ public class SecurityTokenReference {
         element = elem;
         QName el = new QName(element.getNamespaceURI(), element.getLocalName());
         if (!STR_QNAME.equals(el)) {
-            throw new WSSecurityException(WSSecurityException.FAILURE, "badElement", null);
+            throw new WSSecurityException(WSSecurityException.FAILURE, "badElement",  new Object[] {STR_QNAME, el});
         }
         if (bspCompliant) {
             checkBSPCompliance();