@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestErrorException extends AmazonMTurkException
Your request is invalid.
AmazonServiceException.ErrorType
Constructor and Description |
---|
RequestErrorException(String message)
Constructs a new RequestErrorException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getTurkErrorCode() |
void |
setTurkErrorCode(String turkErrorCode) |
RequestErrorException |
withTurkErrorCode(String turkErrorCode) |
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 RequestErrorException(String message)
message
- Describes the error encountered.public void setTurkErrorCode(String turkErrorCode)
turkErrorCode
- public String getTurkErrorCode()
public RequestErrorException withTurkErrorCode(String turkErrorCode)
turkErrorCode
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.