@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InternalServerException extends AWSBackupGatewayException
The operation did not succeed because an internal error occurred. Try again later.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InternalServerException(String message)
Constructs a new InternalServerException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
A description of which internal error occured.
|
void |
setErrorCode(String errorCode)
A description of which internal error occured.
|
InternalServerException |
withErrorCode(String errorCode)
A description of which internal error occured.
|
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InternalServerException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
A description of which internal error occured.
setErrorCode
in class AmazonServiceException
errorCode
- A description of which internal error occured.public String getErrorCode()
A description of which internal error occured.
getErrorCode
in class AmazonServiceException
public InternalServerException withErrorCode(String errorCode)
A description of which internal error occured.
errorCode
- A description of which internal error occured.