watcherId = $watcherId; if ($message === null) { $message = "An invalid watcher idenfier has been used: '{$watcherId}'"; } parent::__construct($message); } /** * @return string The watcher identifier. */ public function getWatcherId() { return $this->watcherId; } }