public class

DataObjectFormatMismatchException

extends DataObjectFormatVerificationException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ xades4j.XAdES4jException
         ↳ xades4j.verification.InvalidSignatureException
           ↳ xades4j.verification.InvalidPropertyException
             ↳ xades4j.verification.DataObjectFormatVerificationException
               ↳ xades4j.verification.DataObjectFormatMismatchException

Class Overview

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.

Summary

Public Constructors
DataObjectFormatMismatchException(String mimeType, String encoding, Reference ref, ObjectContainer obj)
Public Methods
String getEncoding()
String getMimeType()
ObjectContainer getObject()
Reference getReference()
Protected Methods
String getVerificationMessage()
[Expand]
Inherited Methods
From class xades4j.verification.DataObjectFormatVerificationException
From class xades4j.verification.InvalidPropertyException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public DataObjectFormatMismatchException (String mimeType, String encoding, Reference ref, ObjectContainer obj)

Public Methods

public String getEncoding ()

public String getMimeType ()

public ObjectContainer getObject ()

public Reference getReference ()

Protected Methods

protected String getVerificationMessage ()