public class InternalException extends AmazonServiceException
Internal server error.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
canRetry
You can immediately retry your request.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
InternalException(java.lang.String message)
Constructs a new InternalException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getCanRetry()
You can immediately retry your request.
|
java.lang.Boolean |
isCanRetry()
You can immediately retry your request.
|
void |
setCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
|
InternalException |
withCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.Boolean canRetry
You can immediately retry your request.
public InternalException(java.lang.String message)
message
- Describes the error encountered.public void setCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public java.lang.Boolean getCanRetry()
You can immediately retry your request.
public InternalException withCanRetry(java.lang.Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public java.lang.Boolean isCanRetry()
You can immediately retry your request.