public class InvalidRequestException extends AmazonServiceException
This exception occurs when there is something wrong with user input.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidRequestException(String message)
Constructs a new InvalidRequestException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Returns the value of the ErrorCode property for this object.
|
void |
setErrorCode(String errorCode)
Sets the value of the ErrorCode property for this object.
|
getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidRequestException(String message)
message - Describes the error encountered.public String getErrorCode()
getErrorCode in class AmazonServiceExceptionpublic void setErrorCode(String errorCode)
setErrorCode in class AmazonServiceExceptionerrorCode - The new value for this object's ErrorCode property.Copyright © 2015. All rights reserved.