public class InvalidInputException extends AmazonServiceException
An error on the client occurred. Typically, the cause is an invalid input value.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
code |
private static long |
serialVersionUID |
Constructor and Description |
---|
InvalidInputException(java.lang.String message)
Constructs a new InvalidInputException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCode() |
void |
setCode(java.lang.Integer code) |
InvalidInputException |
withCode(java.lang.Integer code) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.Integer code
public InvalidInputException(java.lang.String message)
message
- Describes the error encountered.public void setCode(java.lang.Integer code)
code
- public java.lang.Integer getCode()
public InvalidInputException withCode(java.lang.Integer code)
code
-