1
0
mirror of synced 2025-01-06 00:57:10 +03:00
doctrine2/lib/Doctrine/DBAL/DBALException.php

16 lines
405 B
PHP

<?php
namespace Doctrine\DBAL;
class DBALException extends \Exception
{
public static function notSupported($method)
{
return new self("Operation '$method' is not supported.");
}
public static function invalidPlatformSpecified()
{
return new self("Invalid 'platform' option specified, need to give an instance of \Doctrine\DBAL\Platforms\AbstractPlatform.");
}
}