@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceUnavailableErrorException extends AWSStorageGatewayException
An internal server error has occurred because the service is unavailable. For more information, see the error and message fields.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceUnavailableErrorException(String message)
Constructs a new ServiceUnavailableErrorException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
StorageGatewayError |
getError()
A StorageGatewayError that provides more information about the cause of the error.
|
void |
setError(StorageGatewayError error)
A StorageGatewayError that provides more information about the cause of the error.
|
ServiceUnavailableErrorException |
withError(StorageGatewayError error)
A StorageGatewayError that provides more information about the cause of the error.
|
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 ServiceUnavailableErrorException(String message)
message
- Describes the error encountered.public void setError(StorageGatewayError error)
A StorageGatewayError that provides more information about the cause of the error.
error
- A StorageGatewayError that provides more information about the cause of the error.public StorageGatewayError getError()
A StorageGatewayError that provides more information about the cause of the error.
public ServiceUnavailableErrorException withError(StorageGatewayError error)
A StorageGatewayError that provides more information about the cause of the error.
error
- A StorageGatewayError that provides more information about the cause of the error.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.