FileDocCategorySizeDatePackage
MissingResourceFailureException.javaAPI DocJava SE 6 API3682Tue Jun 10 00:23:04 BST 2008com.sun.org.apache.xml.internal.security.signature

MissingResourceFailureException

public class MissingResourceFailureException extends XMLSignatureException
Thrown by {@link com.sun.org.apache.xml.internal.security.signature.SignedInfo#verify()} when testing the signature fails because of uninitialized {@link com.sun.org.apache.xml.internal.security.signature.Reference}s.
author
Christian Geuer-Pollmann
see
ReferenceNotInitializedException

Fields Summary
private static final long
serialVersionUID
Reference
uninitializedReference
Field uninitializedReference
Constructors Summary
public MissingResourceFailureException(String _msgID, Reference reference)
MissingKeyResourceFailureException constructor.

param
_msgID
param
reference
see
#getReference


               
        

      super(_msgID);

      this.uninitializedReference = reference;
   
public MissingResourceFailureException(String _msgID, Object[] exArgs, Reference reference)
Constructor MissingResourceFailureException

param
_msgID
param
exArgs
param
reference
see
#getReference


      super(_msgID, exArgs);

      this.uninitializedReference = reference;
   
public MissingResourceFailureException(String _msgID, Exception _originalException, Reference reference)
Constructor MissingResourceFailureException

param
_msgID
param
_originalException
param
reference
see
#getReference


      super(_msgID, _originalException);

      this.uninitializedReference = reference;
   
public MissingResourceFailureException(String _msgID, Object[] exArgs, Exception _originalException, Reference reference)
Constructor MissingResourceFailureException

param
_msgID
param
exArgs
param
_originalException
param
reference
see
#getReference


      super(_msgID, exArgs, _originalException);

      this.uninitializedReference = reference;
   
Methods Summary
public com.sun.org.apache.xml.internal.security.signature.ReferencegetReference()
used to get the uninitialized {@link com.sun.org.apache.xml.internal.security.signature.Reference} This allows to supply the correct {@link com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput} to the {@link com.sun.org.apache.xml.internal.security.signature.Reference} to try again verification.

return
the Reference object
see
#setReference

      return this.uninitializedReference;
   
public voidsetReference(com.sun.org.apache.xml.internal.security.signature.Reference reference)
used to set the uninitialized {@link com.sun.org.apache.xml.internal.security.signature.Reference}

param
reference the Reference object
see
#getReference

      this.uninitializedReference = reference;