diff --git a/Model/MySQLiDriver.php b/Model/MySQLiDriver.php index 629fa99..319dde6 100644 --- a/Model/MySQLiDriver.php +++ b/Model/MySQLiDriver.php @@ -78,7 +78,7 @@ class MySQLiDriver extends SqlDbDriver $port); // Connection errors check if (mysqli_connect_error()) { - throw new GeneralException(mysqli_connect_error(), mysqli_connect_errno()); + throw new \Majestic\Exception\GeneralException(mysqli_connect_error(), mysqli_connect_errno()); } $charset = (!empty($this->config['charset'])) ? $this->config['charset'] : 'utf8';