mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 17:14:16 +02:00
used NotSupportedException at appropriate places
This commit is contained in:
@@ -41,12 +41,12 @@ class DibiMsSql2005Driver extends DibiObject implements IDibiDriver, IDibiResult
|
||||
|
||||
|
||||
/**
|
||||
* @throws DibiException
|
||||
* @throws NotSupportedException
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
if (!extension_loaded('sqlsrv')) {
|
||||
throw new DibiDriverException("PHP extension 'sqlsrv' is not loaded.");
|
||||
throw new NotSupportedException("PHP extension 'sqlsrv' is not loaded.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user