@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, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, 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
-