public class DocumentServiceException extends AmazonServiceException
Information about any problems encountered while processing an upload request.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
DocumentServiceException(String message)
Constructs a new DocumentServiceException with the specified error
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStatus()
The return status of a document upload request,
error or
success. |
void |
setStatus(String status)
The return status of a document upload request,
error or
success. |
DocumentServiceException |
withStatus(String status)
The return status of a document upload request,
error or
success. |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DocumentServiceException(String message)
message - Describes the error encountered.public void setStatus(String status)
The return status of a document upload request, error or
success.
status - The return status of a document upload request, error
or success.public String getStatus()
The return status of a document upload request, error or
success.
error or success.public DocumentServiceException withStatus(String status)
The return status of a document upload request, error or
success.
status - The return status of a document upload request, error
or success.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.