public class InvalidInputException extends AmazonServiceException
An error on the client occurred. Typically, the cause is an invalid input value.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidInputException(String message)
Constructs a new InvalidInputException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
Returns the value of the Code property for this object.
|
void |
setCode(Integer code)
Sets the value of the Code property for this object.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidInputException(String message)
message
- Describes the error encountered.public Integer getCode()
public void setCode(Integer code)
code
- The new value for this object's Code property.Copyright © 2016. All rights reserved.