@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestTimeoutException extends AmazonGlacierException
Returned if, when uploading an archive, Amazon Glacier times out while receiving the upload.
AmazonServiceException.ErrorType
Constructor and Description |
---|
RequestTimeoutException(String message)
Constructs a new RequestTimeoutException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
408 Request Timeout
|
String |
getType()
Client
|
void |
setCode(String code)
408 Request Timeout
|
void |
setType(String type)
Client
|
RequestTimeoutException |
withCode(String code)
408 Request Timeout
|
RequestTimeoutException |
withType(String type)
Client
|
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 RequestTimeoutException(String message)
message
- Describes the error encountered.public void setType(String type)
Client
type
- Clientpublic String getType()
Client
public RequestTimeoutException withType(String type)
Client
type
- Clientpublic void setCode(String code)
408 Request Timeout
code
- 408 Request Timeoutpublic String getCode()
408 Request Timeout
public RequestTimeoutException withCode(String code)
408 Request Timeout
code
- 408 Request TimeoutCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.