コード例 #1
0
 /**
  * {@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”)');
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 public function __construct($message = '', $code = 0, Exception $previous = null)
 {
     parent::__construct('The search string must not end with “NOT”');
 }
コード例 #3
0
 /**
  * {@inheritDoc}
  */
 public function __construct($message = '', $code = 0, Exception $previous = null)
 {
     parent::__construct('The search string must neither start nor end with “AND” or “OR”.');
 }
コード例 #4
0
 /**
  * {@inheritDoc}
  */
 public function __construct($message = '', $code = 0, Exception $previous = null)
 {
     parent::__construct('The search string contains an unclosed quote (incomplete phrase)');
 }