public function __construct($filter) { $this->filter = $filter; parent::__construct('The filter with the name "' . $this->filter . '" is missing.', 0); }