PutException instead.@Deprecated public class AddException extends SearchBaseException
| Constructor and Description |
|---|
AddException(OperationResult operationResult)
Deprecated.
Constructs an exception when some error occurred in
the search service when adding some objects to the index.
|
AddException(OperationResult operationResult,
java.util.List<OperationResult> results,
java.util.List<java.lang.String> ids)
Deprecated.
Constructs an exception when some error occurred in
the search service when adding some objects to the index.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getIds()
Deprecated.
|
java.util.List<OperationResult> |
getResults()
Deprecated.
|
getOperationResultpublic AddException(OperationResult operationResult)
operationResult - the error code and message detail associated with
the failurepublic AddException(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 added to the indexids - the list of Ids of the object requested to be
added to 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 add to the indexpublic java.util.List<java.lang.String> getIds()