public class OrderException extends AbstractBusinessObjectDocumentException
CHANGE_STATUS_CODE_VALUE_FOR_ERROR, ERROR_COUNT, ERROR_COUNT_KEY, MESSAGEKEY_ERRORCODE_SEPARATOR
Constructor and Description |
---|
OrderException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List orders)
This method creates an instance of the Order exception.
|
OrderException(java.util.List clientErrors)
This is the constructor of the class.
|
OrderException(java.lang.String key,
java.lang.String value)
This method is a construction of the class
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getOrder()
This method returns the orders that are associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerb
public OrderException(ChangeStatusType changeStatus, VerbType verb, java.util.List orders)
changeStatus
- The error information that is contained in the
ChangeStatus
element of the respond or
acknowledge verb.verb
- The returning verb.orders
- The list of Order that is associated with the response.public OrderException(java.util.List clientErrors)
clientErrors
- the list of client errors.public OrderException(java.lang.String key, java.lang.String value)
key
- the message keyvalue
- the message value