public class DependencyTimeoutException extends AmazonServiceException
The service timed out trying to fulfill the request, and the client should try the call again.
AmazonServiceException.ErrorType
Constructor and Description |
---|
DependencyTimeoutException(String message)
Constructs a new DependencyTimeoutException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Returns the AWS error code represented by this exception.
|
void |
setErrorCode(String errorCode)
Sets the AWS error code represented by this exception.
|
DependencyTimeoutException |
withErrorCode(String errorCode) |
getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DependencyTimeoutException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
AmazonServiceException
setErrorCode
in class AmazonServiceException
errorCode
- public String getErrorCode()
AmazonServiceException
getErrorCode
in class AmazonServiceException
public DependencyTimeoutException withErrorCode(String errorCode)
errorCode
- Copyright © 2018. All rights reserved.