Exception SearchException (2.0.0)

public class SearchException extends SearchBaseException

Thrown to indicate that a search service failure occurred while performing a search request.

Constructors

SearchException(OperationResult operationResult)

public SearchException(OperationResult operationResult)

Constructs an exception when some error occurred in the search service when processing a search request.

Parameter
NameDescription
operationResultOperationResult

the error code and message detail associated with the failure

SearchException(String message)

public SearchException(String message)

Constructs an exception when some error occurred in the search service when processing a search request.

Parameter
NameDescription
messageString

the error detail associated with the failure