public class InvalidParameterException extends AmazonServiceException
One or more parameters are not valid.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidParameterException(String message)
Constructs a new InvalidParameterException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
Returns the AWS request ID that uniquely identifies the service request
the caller made.
|
void |
setRequestId(String requestId)
Sets the AWS requestId for this exception.
|
InvalidParameterException |
withRequestId(String requestId) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidParameterException(String message)
message - Describes the error encountered.public void setRequestId(String requestId)
AmazonServiceExceptionsetRequestId in class AmazonServiceExceptionrequestId - public String getRequestId()
AmazonServiceExceptiongetRequestId in class AmazonServiceExceptionpublic InvalidParameterException withRequestId(String requestId)
requestId - Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.