/**
  * Constructor
  *
  * @param string $message If no message is given 'Your Bitly Login is invalid (Configure Bitly.LOGIN)' will be the message
  * @param int $code Status code, defaults to 500
  */
 public function __construct($message = null, $code = 500)
 {
     if (empty($message)) {
         $message = 'Your Bitly Login is invalid (Configure Bitly.LOGIN)';
     }
     parent::__construct($message, $code);
 }
 /**
  * Constructor
  *
  * @param string $message
  * @param int $code Status code, defaults to 500
  */
 public function __construct($message = null, $code = 500)
 {
     if (empty($message)) {
         $message = 'Please configure your bitly.com api key in "' . CONFIG . 'bitly.php".';
     }
     parent::__construct($message, $code);
 }
 /**
  * Constructor
  *
  * @param string $message If no message is given 'The rate limit of your bitly.com account is exceeded.' will be the message
  * @param int $code Status code, defaults to 403
  */
 public function __construct($message = null, $code = 403)
 {
     if (empty($message)) {
         $message = 'The rate limit of your bitly.com account is exceeded.';
     }
     parent::__construct($message, $code);
 }
 /**
  * Constructor
  *
  * @param string $message
  * @param int $code Status code, defaults to 500
  */
 public function __construct($message = null, $code = 500)
 {
     if (empty($message)) {
         $message = 'Please copy "' . Plugin::configPath('FrankFoerster/Bitly') . 'bitly.example.php" to "' . CONFIG . 'bitly.php".';
     }
     parent::__construct($message, $code);
 }
 /**
  * Constructor
  *
  * @param string $message If no message is given 'Your Bitly Api Key is invalid (Configure Bitly.API_KEY)' will be the message
  * @param int $code Status code, defaults to 500
  */
 public function __construct($message = null, $code = 500)
 {
     if (empty($message)) {
         $message = 'Your Bitly Api Key is invalid (Configure Bitly.API_KEY)';
     }
     parent::__construct($message, $code);
 }
 /**
  * Constructor
  *
  * @param string $message If no message is given 'bitly.com: An unknown error occurred.' will be the message
  * @param int $code Status code, defaults to 500
  */
 public function __construct($message = null, $code = 500)
 {
     if (empty($message)) {
         $message = 'bitly.com: An unknown error occurred.';
     }
     parent::__construct($message, $code);
 }
 /**
  * Constructor
  *
  * @param string $message If no message is given 'The bitly.com service is temporary unavailable.' will be the message
  * @param int $code Status code, defaults to 503
  */
 public function __construct($message = null, $code = 503)
 {
     if (empty($message)) {
         $message = 'The bitly.com service is temporary unavailable.';
     }
     parent::__construct($message, $code);
 }
 public function __construct($message = "RATE_LIMIT_EXCEEDED", $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
 public function __construct($message = "INVALID_LOGIN", $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }