2008-09-12 09:58:02 +00:00
|
|
|
<?php
|
|
|
|
|
2009-02-07 17:02:13 +00:00
|
|
|
namespace Doctrine\ORM\Internal\Hydration;
|
2009-01-22 19:38:10 +00:00
|
|
|
|
2010-02-09 17:13:49 +00:00
|
|
|
class HydrationException extends \Doctrine\ORM\ORMException
|
2008-09-12 09:58:02 +00:00
|
|
|
{
|
|
|
|
public static function nonUniqueResult()
|
|
|
|
{
|
|
|
|
return new self("The result returned by the query was not unique.");
|
|
|
|
}
|
2009-08-28 10:48:40 +00:00
|
|
|
|
|
|
|
public static function parentObjectOfRelationNotFound($alias, $parentAlias)
|
|
|
|
{
|
|
|
|
return new self("The parent object of entity result with alias '$alias' was not found."
|
|
|
|
. " The parent alias is '$parentAlias'.");
|
|
|
|
}
|
2009-02-20 05:46:20 +00:00
|
|
|
}
|