com.amazonaws.services.elasticmapreduce.model
Class InvalidRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.amazonaws.AmazonClientException
                  extended by com.amazonaws.AmazonServiceException
                      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
 
Constructor Summary
InvalidRequestException(String message)
          Constructs a new InvalidRequestException with the specified error message.
 
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.
 
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorType, setRequestId, setServiceName, setStatusCode
 
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidRequestException

public InvalidRequestException(String message)
Constructs a new InvalidRequestException with the specified error message.

Parameters:
message - Describes the error encountered.
Method Detail

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.