/** * Exception constructor. * * @param mixed $message The exception message, or an Exception object. */ public function __construct($message = 'Not currently in DISCONNECTED state') { parent::__construct($message); }
/** * Exception constructor. * * @param mixed $message The exception message, or an Exception object. */ public function __construct($message = 'Not currently in AUTHENTICATED state') { parent::__construct($message); }
/** * Exception constructor. * * @param mixed $message The exception message, or an Exception object. */ public function __construct($message = 'Not currently connected') { parent::__construct($message); }
/** * Exception constructor. * * @param Exception $e An Exception object. */ public function __construct(\Exception $e) { parent::__construct('Failed to connect, server said: ' . $e->getMessage()); }