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