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() |
void |
setCode(Integer code) |
InvalidInputException |
withCode(Integer code) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidInputException(String message)
message - Describes the error encountered.public void setCode(Integer code)
code - public Integer getCode()
public InvalidInputException withCode(Integer code)
code - Copyright © 2015. All rights reserved.