/**
  * Constructs the Exception.
  *
  * @param string Error message
  * @param int Error number (default: 0)
  */
 public function __construct($message, $code = 0)
 {
     if (self::$objInExc instanceof self) {
         self::$objInExc->hardExit();
     }
     self::$objInExc = $this;
     parent::__construct($message, $code);
 }
 /**
  * Constructs the QueryException.
  *
  * @param string Database error message
  * @param int Database error number (default: 0)
  */
 public function __construct()
 {
     parent::__construct('No valid IPv4 found for the user.', 1);
 }
 /**
  * Constructs the QueryException.
  *
  * @param string Database error message
  * @param int Database error number (default: 0)
  */
 public function __construct($message, $code = 0)
 {
     parent::__construct($message, $code);
 }