@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestException extends AmazonElasticMapReduceException
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 |
getEmrErrorCode()
The error code associated with the exception.
|
void |
setEmrErrorCode(String emrErrorCode)
The error code associated with the exception.
|
InvalidRequestException |
withEmrErrorCode(String emrErrorCode)
The error code associated with the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, 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 void setEmrErrorCode(String emrErrorCode)
The error code associated with the exception.
emrErrorCode
- The error code associated with the exception.public String getEmrErrorCode()
The error code associated with the exception.
public InvalidRequestException withEmrErrorCode(String emrErrorCode)
The error code associated with the exception.
emrErrorCode
- The error code associated with the exception.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.