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
Name Description
operationResult OperationResult

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
Name Description
operationResult OperationResult

the error code and message detail associated with the failure

results List<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
Type Description
List<OperationResult>

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