public class CampaignException 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 |
|---|
CampaignException(ChangeStatusType changeStatus,
VerbType verb,
java.util.List campaigns)
Creates an instance of the Campaign exception.
|
CampaignException(java.util.List clientErrors)
Creates an instance of the Campaign exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getCampaign()
Returns the Campaign that is associated with the response of the request.
|
addClientError, getChangeStatus, getClientErrors, getLocalizedMessage, getMessage, getVerbpublic static final java.lang.String COPYRIGHT
public CampaignException(ChangeStatusType changeStatus, VerbType verb, java.util.List campaigns)
changeStatus - The error information that is contained in the ChangeStatus
element of the respond or acknowledge verb.verb - The returning verb.campaigns - The list of Campaign that is associated with the response.public CampaignException(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.