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