diff --git a/db/qq/QI.php b/db/qq/QI.php index ce2412b..e560d90 100644 --- a/db/qq/QI.php +++ b/db/qq/QI.php @@ -14,7 +14,7 @@ class QI { } else if ($dbinfo instanceof \SYSTEM\DB\DBInfoSQLite){ $files = static::files_sqlite(); } else { - throw new \SYSTEM\LOG\ERROR(static::get_class().' Could not understand Database Settings. Check ur Database Settings');} + throw new \Exception(static::get_class().' Could not understand Database Settings. Check ur Database Settings');} $command = 'mysql'. ' --host=' . $dbinfo->m_host. diff --git a/db/qq/QP.php b/db/qq/QP.php index 0ddb97f..7197611 100644 --- a/db/qq/QP.php +++ b/db/qq/QP.php @@ -17,7 +17,7 @@ class QP { return $con->prepare(static::get_class(),static::sqlite(),$params); } } catch (\Exception $e){ - throw new \SYSTEM\LOG\ERROR(static::get_class().' failed causing: '.$e->getMessage(),$e->getCode(),$e);} + throw new \Exception(static::get_class().' failed causing: '.$e->getMessage(),$e->getCode(),$e);} throw new \Exception('Could not understand Database Settings. Check ur Database Settings'); } diff --git a/db/qq/QQ.php b/db/qq/QQ.php index d8b3de7..4e941f0 100644 --- a/db/qq/QQ.php +++ b/db/qq/QQ.php @@ -18,7 +18,7 @@ class QQ { return $con->query(static::sqlite()); } } catch (\Exception $e){ - throw new \SYSTEM\LOG\ERROR(static::get_class().' failed causing: '.$e->getMessage(),$e->getCode(),$e);} + throw new \Exception(static::get_class().' failed causing: '.$e->getMessage(),$e->getCode(),$e);} throw new \Exception('Could not understand Database Settings. Check ur Database Settings'); }