public class DocumentServiceException extends AmazonServiceException
Information about any problems encountered while processing an upload request.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private java.lang.String |
status
The return status of a document upload request,
error or
success . |
Constructor and Description |
---|
DocumentServiceException(java.lang.String message)
Constructs a new DocumentServiceException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStatus()
The return status of a document upload request,
error or
success . |
void |
setStatus(java.lang.String status)
The return status of a document upload request,
error or
success . |
DocumentServiceException |
withStatus(java.lang.String status)
The return status of a document upload request,
error or
success . |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String status
The return status of a document upload request, error
or
success
.
public DocumentServiceException(java.lang.String message)
message
- Describes the error encountered.public void setStatus(java.lang.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 java.lang.String getStatus()
The return status of a document upload request, error
or
success
.
error
or success
.public DocumentServiceException withStatus(java.lang.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
.