protected function onConnectionError($message, $code = null) { CommunicationException::handle(new ConnectionException($this, "{$message} [{$this->getParameters()}]", $code)); }