/** * 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); }