[2.0] Add Message to NoResultException
This commit is contained in:
parent
4e8e7b8b0f
commit
60d00a63b3
1 changed files with 7 additions and 1 deletions
|
@ -8,4 +8,10 @@ namespace Doctrine\ORM;
|
|||
* @author robo
|
||||
* @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.');
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue