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