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