public function __construct($id) { $this->id = $id; parent::__construct('The condition group with the id "' . $this->id . '" is not related to the given conditions.', 0); }