@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentServiceException extends AmazonCloudSearchDomainException
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, 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 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.