@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceUnavailableException extends AWSBackupException
The request failed due to a temporary failure of the server.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceUnavailableException(String message)
Constructs a new ServiceUnavailableException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getContext()
|
String |
getType()
|
void |
setCode(String code) |
void |
setContext(String context)
|
void |
setType(String type)
|
ServiceUnavailableException |
withCode(String code) |
ServiceUnavailableException |
withContext(String context)
|
ServiceUnavailableException |
withType(String type)
|
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 ServiceUnavailableException(String message)
message
- Describes the error encountered.public void setCode(String code)
code
- public String getCode()
public ServiceUnavailableException withCode(String code)
code
- public void setType(String type)
type
- public String getType()
public ServiceUnavailableException withType(String type)
type
- public void setContext(String context)
context
- public String getContext()
public ServiceUnavailableException withContext(String context)
context
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.