Class DataObjectFormatMismatchException

All Implemented Interfaces:
Serializable

public class DataObjectFormatMismatchException extends DataObjectFormatVerificationException
Thrown during validation of the DataObjectFormat property if the corresponding Reference references an Object and mime-type and/or encoding in the property an in the Object are not equal.
Author:
Luís
See Also:
  • Constructor Details

    • DataObjectFormatMismatchException

      public DataObjectFormatMismatchException(String mimeType, String encoding, org.apache.xml.security.signature.Reference ref, org.apache.xml.security.signature.ObjectContainer obj)
  • Method Details

    • getMimeType

      public String getMimeType()
    • getEncoding

      public String getEncoding()
    • getObject

      public org.apache.xml.security.signature.ObjectContainer getObject()
    • getReference

      public org.apache.xml.security.signature.Reference getReference()
    • getVerificationMessage

      protected String getVerificationMessage()
      Specified by:
      getVerificationMessage in class InvalidPropertyException