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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidRequestException(String message)
message
- Describes the error encountered.public String getErrorCode()
getErrorCode
in class AmazonServiceException
public void setErrorCode(String errorCode)
setErrorCode
in class AmazonServiceException
errorCode
- The new value for this object's ErrorCode property.Copyright © 2014. All rights reserved.