diff --git a/lib/Doctrine/ORM/NoResultException.php b/lib/Doctrine/ORM/NoResultException.php index e948a96c7..1312ea1e3 100644 --- a/lib/Doctrine/ORM/NoResultException.php +++ b/lib/Doctrine/ORM/NoResultException.php @@ -8,4 +8,10 @@ namespace Doctrine\ORM; * @author robo * @since 2.0 */ -class NoResultException extends ORMException {} \ No newline at end of file +class NoResultException extends ORMException +{ + public function __construct() + { + parent::__construct('No result was found for query although at least one row was expected.'); + } +} \ No newline at end of file