1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

[2.0] Add Message to NoResultException

This commit is contained in:
beberlei 2010-01-27 18:00:10 +00:00
parent 4e8e7b8b0f
commit 60d00a63b3

View file

@ -8,4 +8,10 @@ namespace Doctrine\ORM;
* @author robo * @author robo
* @since 2.0 * @since 2.0
*/ */
class NoResultException extends ORMException {} class NoResultException extends ORMException
{
public function __construct()
{
parent::__construct('No result was found for query although at least one row was expected.');
}
}