@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()
Descriptive message for the error response.
|
void |
setMessages(Collection<String> messages)
Descriptive message for the error response.
|
InvalidChangeBatchException |
withMessages(Collection<String> messages)
Descriptive message for the error response.
|
InvalidChangeBatchException |
withMessages(String... messages)
Descriptive message for the error response.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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 List<String> getMessages()
Descriptive message for the error response.
public void setMessages(Collection<String> messages)
Descriptive message for the error response.
messages
- Descriptive message for the error response.public InvalidChangeBatchException withMessages(String... messages)
Descriptive message for the error response.
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
- Descriptive message for the error response.public InvalidChangeBatchException withMessages(Collection<String> messages)
Descriptive message for the error response.
messages
- Descriptive message for the error response.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.