com.amazonaws.services.elasticmapreduce.model
Class InvalidRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.elasticmapreduce.model.InvalidRequestException
- All Implemented Interfaces:
- Serializable
public class InvalidRequestException
- extends AmazonServiceException
This exception occurs when there is something wrong with user input.
- See Also:
- Serialized Form
Method Summary |
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. |
InvalidRequestException
public InvalidRequestException(String message)
- Constructs a new InvalidRequestException with the specified error
message.
- Parameters:
message
- Describes the error encountered.
getErrorCode
public String getErrorCode()
- Returns the value of the ErrorCode property for this object.
- Overrides:
getErrorCode
in class AmazonServiceException
- Returns:
- The value of the ErrorCode property for this object.
setErrorCode
public void setErrorCode(String errorCode)
- Sets the value of the ErrorCode property for this object.
- Overrides:
setErrorCode
in class AmazonServiceException
- Parameters:
errorCode
- The new value for this object's ErrorCode property.
Copyright © 2016. All rights reserved.