2009-10-28 13:31:47 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\DBAL;
|
|
|
|
|
2009-11-03 21:30:21 +03:00
|
|
|
class DBALException extends \Exception
|
|
|
|
{
|
|
|
|
public static function notSupported($method)
|
|
|
|
{
|
|
|
|
return new self("Operation '$method' is not supported.");
|
|
|
|
}
|
2009-12-08 22:41:47 +03:00
|
|
|
|
|
|
|
public static function invalidPlatformSpecified()
|
|
|
|
{
|
|
|
|
return new self("Invalid 'platform' option specified, need to give an instance of \Doctrine\DBAL\Platforms\AbstractPlatform.");
|
|
|
|
}
|
2009-11-03 21:30:21 +03:00
|
|
|
}
|