public class GiftCenterException extends AbstractBusinessObjectDocumentException
CHANGE_STATUS_CODE_VALUE_FOR_ERROR, ERROR_COUNT, ERROR_COUNT_KEY, MESSAGEKEY_ERRORCODE_SEPARATOR
Constructor and Description |
---|
GiftCenterException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List giftlists)
Creates an instance of the GiftList exception.
|
GiftCenterException(java.util.List clientErrors)
Creates an instance of the GiftList exception with the list of client errors.
|
GiftCenterException(java.lang.String key,
java.lang.String value)
Creates an instance of the GiftList exception with the error key and value.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getGiftList()
Returns the GiftList that is associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerb
public GiftCenterException(ChangeStatusType changeStatus, VerbType verb, java.util.List giftlists)
changeStatus
- The error information that is contained in the ChangeStatus
element of the respond or acknowledge verb.verb
- The returning verb.giftlists
- The list of gift lists that are associated with the response.public GiftCenterException(java.util.List clientErrors)
clientErrors
- The client errors to associate with the exception.
These client errors represent client-side parameter validation that causes the exception.public GiftCenterException(java.lang.String key, java.lang.String value)
key
- The name of the parameter which caused the exceptionvalue
- The parameter value which caused the exception