| author | ymh <ymh.work@gmail.com> |
| Sat, 24 Sep 2011 15:40:41 +0200 | |
| changeset 0 | 7f95f8617b0b |
| permissions | -rwxr-xr-x |
| 0 | 1 |
<?php |
2 |
||
3 |
namespace Doctrine\ORM\Internal\Hydration; |
|
4 |
||
5 |
class HydrationException extends \Doctrine\ORM\ORMException |
|
6 |
{ |
|
7 |
public static function nonUniqueResult() |
|
8 |
{ |
|
9 |
return new self("The result returned by the query was not unique."); |
|
10 |
} |
|
11 |
||
12 |
public static function parentObjectOfRelationNotFound($alias, $parentAlias) |
|
13 |
{ |
|
14 |
return new self("The parent object of entity result with alias '$alias' was not found." |
|
15 |
. " The parent alias is '$parentAlias'."); |
|
16 |
} |
|
17 |
} |