提交代码
This commit is contained in:
19
vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/InvalidArgumentException.php
vendored
Normal file
19
vendor/doctrine/dbal/lib/Doctrine/DBAL/Exception/InvalidArgumentException.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Doctrine\DBAL\Exception;
|
||||
|
||||
use Doctrine\DBAL\DBALException;
|
||||
|
||||
/**
|
||||
* Exception to be thrown when invalid arguments are passed to any DBAL API
|
||||
*/
|
||||
class InvalidArgumentException extends DBALException
|
||||
{
|
||||
/**
|
||||
* @return self
|
||||
*/
|
||||
public static function fromEmptyCriteria()
|
||||
{
|
||||
return new self('Empty criteria was used, expected non-empty criteria');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user