@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidInputException extends AmazonMacieException
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidInputException(String message)
Constructs a new InvalidInputException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Returns the AWS error code represented by this exception.
|
String |
getFieldName() |
void |
setErrorCode(String errorCode)
Sets the AWS error code represented by this exception.
|
void |
setFieldName(String fieldName) |
InvalidInputException |
withErrorCode(String errorCode) |
InvalidInputException |
withFieldName(String fieldName) |
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, 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 setErrorCode(String errorCode)
AmazonServiceExceptionsetErrorCode in class AmazonServiceExceptionerrorCode - public String getErrorCode()
AmazonServiceExceptiongetErrorCode in class AmazonServiceExceptionpublic InvalidInputException withErrorCode(String errorCode)
errorCode - public void setFieldName(String fieldName)
fieldName - public String getFieldName()
public InvalidInputException withFieldName(String fieldName)
fieldName - Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.