Commit 60d00a63 authored by beberlei's avatar beberlei

[2.0] Add Message to NoResultException

parent 4e8e7b8b
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment