public class MarketingContentException extends AbstractBusinessObjectDocumentException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
CHANGE_STATUS_CODE_VALUE_FOR_ERROR, ERROR_COUNT, ERROR_COUNT_KEY, MESSAGEKEY_ERRORCODE_SEPARATOR
Constructor and Description |
---|
MarketingContentException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List marketingcontents)
Creates an instance of the MarketingContent exception.
|
MarketingContentException(java.util.List clientErrors)
Creates an instance of the MarketingContent exception.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getMarketingContent()
Returns the MarketingContent that is associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerb
public static final java.lang.String COPYRIGHT
public MarketingContentException(ChangeStatusType changeStatus, VerbType verb, java.util.List marketingcontents)
changeStatus
- The error information that is contained in the ChangeStatus
element of the respond or acknowledge verb.verb
- The returning verb.marketingcontents
- The list of MarketingContent that is associated with the response.public MarketingContentException(java.util.List clientErrors)
clientErrors
- The client errors to associate with the exception. These client
error represent client side parameter validation that cause the exception.