@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InternalServiceException extends AmazonWorkSpacesThinClientException
Request processing failed due to some unknown error, exception, or failure.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InternalServiceException(String message)
Constructs a new InternalServiceException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getRetryAfterSeconds()
The number of seconds to wait before retrying the next request.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
|
InternalServiceException |
withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
|
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 InternalServiceException(String message)
message
- Describes the error encountered.public void setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
retryAfterSeconds
- The number of seconds to wait before retrying the next request.public Integer getRetryAfterSeconds()
The number of seconds to wait before retrying the next request.
public InternalServiceException withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
retryAfterSeconds
- The number of seconds to wait before retrying the next request.