public function __construct($tag) { $this->tag = $tag; parent::__construct("The tag '{$tag}' was not found."); }