xades4j.verification
Class ReferenceValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
xades4j.XAdES4jException
xades4j.verification.InvalidSignatureException
xades4j.verification.CoreVerificationException
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. |
ReferenceValueException
public ReferenceValueException(org.apache.xml.security.signature.XMLSignature sig,
org.apache.xml.security.signature.Reference reference)
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.