1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 14:16:39 +02:00

used NotSupportedException at appropriate places

This commit is contained in:
David Grudl
2011-01-25 18:23:30 +01:00
parent 9c52b8ea9d
commit 018b9da06d
11 changed files with 36 additions and 36 deletions

View File

@@ -46,12 +46,12 @@ class DibiSqlite3Driver extends DibiObject implements IDibiDriver, IDibiResultDr
/**
* @throws DibiException
* @throws NotSupportedException
*/
public function __construct()
{
if (!extension_loaded('sqlite3')) {
throw new DibiDriverException("PHP extension 'sqlite3' is not loaded.");
throw new NotSupportedException("PHP extension 'sqlite3' is not loaded.");
}
}