Class AttachmentException

  • All Implemented Interfaces:

    public class AttachmentException
    extends AbstractBusinessObjectDocumentException
    This exception represents a business error to why the request was not process sucessfully. This exception will include the response information so the call can examine the response. The purpose of the exception is a convient way for the client to be notified if there was an error when processing instead of having to examine the result returned from the Attachment facade.
    See Also:
    Serialized Form
    • Constructor Detail

      • AttachmentException

        public AttachmentException(ChangeStatusType changeStatus,
                                   VerbType verb,
                                   java.util.List attachments)
        Creates an instance of the Attachment exception.
        changeStatus - The error information that is contained in the ChangeStatus element of the respond or acknowledge verb.
        verb - The returning verb.
        attachments - The list of Attachment that is associated with the response.
      • AttachmentException

        public AttachmentException(java.util.List clientErrors)
        Creates an instance of the Attachment exception.
        clientErrors - The client errors to associate with the exception. These client error represent client side parameter validation that cause the exception.
    • Method Detail

      • getAttachment

        public java.util.List getAttachment()
        Returns the Attachment that is associated with the response of the request.
        The list of Attachment found in the response.