1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/lib/Doctrine/ORM/Query/QueryException.php

20 lines
395 B
PHP

<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
namespace Doctrine\ORM\Query;
/**
* Description of QueryException
*
* @author robo
*/
class QueryException extends \Doctrine\Common\DoctrineException
{
public static function nonUniqueResult()
{
return new self("The query contains more than one result.");
}
}