public class PutException extends SearchBaseException
| Constructor and Description |
|---|
PutException(OperationResult operationResult)
Constructs an exception when some error occurred in
the search service when putting some objects into the index.
|
PutException(OperationResult operationResult,
java.util.List<OperationResult> results,
java.util.List<java.lang.String> ids)
Constructs an exception when some error occurred in
the search service when putting some objects to the index.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getIds() |
java.util.List<OperationResult> |
getResults() |
getOperationResultpublic PutException(OperationResult operationResult)
operationResult - the error code and message detail associated with
the failurepublic PutException(OperationResult operationResult, java.util.List<OperationResult> results, java.util.List<java.lang.String> ids)
operationResult - the error code and message detail associated with
the failureresults - the list of OperationResult where each result is
associated with an object that was requested to be put into the indexids - the list of Ids of the object requested to be
put into the index. The search service may provide an Id if none was given
for an objectpublic java.util.List<OperationResult> getResults()
OperationResult where each result is
associated with a request to be put an object into the indexpublic java.util.List<java.lang.String> getIds()