2009-01-22 22:38:10 +03:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* To change this template, choose Tools | Templates
|
|
|
|
* and open the template in the editor.
|
|
|
|
*/
|
|
|
|
|
2009-02-07 20:02:13 +03:00
|
|
|
namespace Doctrine\ORM\Query;
|
2009-01-22 22:38:10 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Description of QueryException
|
|
|
|
*
|
|
|
|
* @author robo
|
|
|
|
*/
|
2009-02-20 08:46:20 +03:00
|
|
|
class QueryException extends \Doctrine\Common\DoctrineException
|
|
|
|
{
|
|
|
|
public static function nonUniqueResult()
|
|
|
|
{
|
|
|
|
return new self("The query contains more than one result.");
|
|
|
|
}
|
|
|
|
}
|