xades4j.verification
Class ReferenceValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by xades4j.XAdES4jException
              extended by xades4j.verification.InvalidSignatureException
                  extended by xades4j.verification.CoreVerificationException
                      extended by xades4j.verification.ReferenceValueException
All Implemented Interfaces:
Serializable

public class ReferenceValueException
extends CoreVerificationException

Thrown during signature verification when the core verification fails due to reference validation.

Author:
Luís
See Also:
Serialized Form

Constructor Summary
ReferenceValueException(org.apache.xml.security.signature.XMLSignature sig, org.apache.xml.security.signature.Reference reference)
           
 
Method Summary
 String getMessage()
           
 org.apache.xml.security.signature.Reference getReference()
          Gets the reference that caused the validation error.
 
Methods inherited from class xades4j.verification.CoreVerificationException
getSignature
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReferenceValueException

public ReferenceValueException(org.apache.xml.security.signature.XMLSignature sig,
                               org.apache.xml.security.signature.Reference reference)
Method Detail

getReference

public org.apache.xml.security.signature.Reference getReference()
Gets the reference that caused the validation error. If multiple references are invalid, this is the first of them, in order of appearence.

Returns:
the reference.

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2012. All Rights Reserved.