From 0057d6ff7c7b7e72a580a58139b4290377d89a75 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Fri, 6 Jun 2014 20:03:51 +0400 Subject: [PATCH] namesape fix --- Model/MySQLiDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';