function __construct($type, $id) { parent::__construct(tr('Document not found in index %1 (%0)', $type, $id)); }
function __construct($field) { $this->field = $field; parent::__construct(tr('Sort field %0 not found in index', $this->field)); }
function __construct($string, $field) { $this->string = $string; $this->field = $field; parent::__construct(tr('String "%0" cannot be formatted as a number for field "%1"', $this->string, $this->field)); }
function __construct($string) { $this->string = $string; parent::__construct(tr('Parsing search query failed: "%0"', $this->string)); }
function __construct($type, $field) { $this->type = $type; $this->field = $field; parent::__construct(tr('Unknown mapping type "%0" for field "%1"', $type, $field)); }