Class ContractException

  • All Implemented Interfaces:

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

      • ContractException

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

        public ContractException(java.util.List clientErrors)
        This is the constructor of the class.
        clientErrors - the list of client errors
    • Method Detail

      • getContract

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