/** * {@inheritDoc} */ public function __construct($message = '', $code = 0, Exception $previous = null) { parent::__construct('The search string contains contradictory instructions. (Examples: “-Word1 OR Word2”, “Word1 NOT +Word”)'); }
/** * {@inheritDoc} */ public function __construct($message = '', $code = 0, Exception $previous = null) { parent::__construct('The search string must not end with “NOT”'); }
/** * {@inheritDoc} */ public function __construct($message = '', $code = 0, Exception $previous = null) { parent::__construct('The search string must neither start nor end with “AND” or “OR”.'); }
/** * {@inheritDoc} */ public function __construct($message = '', $code = 0, Exception $previous = null) { parent::__construct('The search string contains an unclosed quote (incomplete phrase)'); }