Class DocumentServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.amazonaws.AmazonClientException
com.amazonaws.AmazonServiceException
com.amazonaws.services.cloudsearchdomain.model.DocumentServiceException
- All Implemented Interfaces:
Serializable
Information about any problems encountered while processing an upload request.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AmazonServiceException
AmazonServiceException.ErrorType -
Constructor Summary
ConstructorsConstructorDescriptionDocumentServiceException(String message) Constructs a new DocumentServiceException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionThe return status of a document upload request,errororsuccess.voidThe return status of a document upload request,errororsuccess.withStatus(String status) The return status of a document upload request,errororsuccess.Methods inherited from class AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeMethods inherited from class AmazonClientException
isRetryableMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DocumentServiceException
Constructs a new DocumentServiceException with the specified error message.- Parameters:
message- Describes the error encountered.
-
-
Method Details
-
setStatus
The return status of a document upload request,
errororsuccess.- Parameters:
status- The return status of a document upload request,errororsuccess.
-
getStatus
The return status of a document upload request,
errororsuccess.- Returns:
- The return status of a document upload request,
errororsuccess.
-
withStatus
The return status of a document upload request,
errororsuccess.- Parameters:
status- The return status of a document upload request,errororsuccess.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-