public class ContractException extends AbstractBusinessObjectDocumentException
CHANGE_STATUS_CODE_VALUE_FOR_ERROR, ERROR_COUNT, ERROR_COUNT_KEY, MESSAGEKEY_ERRORCODE_SEPARATOR
Constructor and Description |
---|
ContractException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List contracts)
Creates an instance of the Contract exception.
|
ContractException(java.util.List clientErrors)
This is the constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getContract()
Returns the contracts that is associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerb
public ContractException(ChangeStatusType changeStatus, VerbType verb, java.util.List contracts)
changeStatus
- The error information that is contained in the ChangeStatus
element of the respond or acknowledge verbverb
- The returning verbcontracts
- The list of Contract that is associated with the responsepublic ContractException(java.util.List clientErrors)
clientErrors
- the list of client errors