Exception DeleteException (2.0.0)

public class DeleteException extends SearchBaseException

Thrown to indicate that a search service failure occurred while deleting objects.

Constructors

DeleteException(OperationResult operationResult)

public DeleteException(OperationResult operationResult)

Constructs an exception when some error occurred in the search service whilst processing a delete operation.

Parameter
NameDescription
operationResultOperationResult

the error code and message detail associated with the failure

DeleteException(OperationResult operationResult, List<OperationResult> results)

public DeleteException(OperationResult operationResult, List<OperationResult> results)

Constructs an exception when some error occurred in the search service whilst processing a delete operation.

Parameters
NameDescription
operationResultOperationResult

the error code and message detail associated with the failure

resultsList<OperationResult>

the list of OperationResult where each result is associated with the id of the object that was requested to be deleted

Methods

getResults()

public List<OperationResult> getResults()
Returns
TypeDescription
List<OperationResult>

the list of OperationResult where each result is associated with the id of the object that was requested to be deleted