@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidChangeBatchException extends AmazonRoute53Exception
This exception contains a list of messages that might contain one or more error messages. Each error message indicates one error in the change batch.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidChangeBatchException(String message)
Constructs a new InvalidChangeBatchException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getMessages()
|
void |
setMessages(Collection<String> messages)
|
InvalidChangeBatchException |
withMessages(Collection<String> messages)
|
InvalidChangeBatchException |
withMessages(String... messages)
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidChangeBatchException(String message)
message
- Describes the error encountered.public void setMessages(Collection<String> messages)
messages
- public InvalidChangeBatchException withMessages(String... messages)
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
or withMessages(java.util.Collection)
if you want to override
the existing values.
messages
- public InvalidChangeBatchException withMessages(Collection<String> messages)
messages
-