Class InvalidChangeBatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.route53.model.InvalidChangeBatchException
- All Implemented Interfaces:
Serializable
This error contains a list of one or more error messages. Each error message indicates one error in the change batch. For more information, see Example InvalidChangeBatch Errors.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidChangeBatchException
(String message) Constructs a new InvalidChangeBatchException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionDescriptive message for the error response.void
setMessages
(Collection<String> messages) Descriptive message for the error response.withMessages
(String... messages) Descriptive message for the error response.withMessages
(Collection<String> messages) Descriptive message for the error response.Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidChangeBatchException
Constructs a new InvalidChangeBatchException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-
Method Details
-
getMessages
Descriptive message for the error response.
- Returns:
- Descriptive message for the error response.
-
setMessages
Descriptive message for the error response.
- Parameters:
messages
- Descriptive message for the error response.
-
withMessages
Descriptive message for the error response.
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
orwithMessages(java.util.Collection)
if you want to override the existing values.- Parameters:
messages
- Descriptive message for the error response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMessages
Descriptive message for the error response.
- Parameters:
messages
- Descriptive message for the error response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-