1
0
mirror of synced 2025-02-22 15:13:13 +03:00

Add class name as argument.

This commit is contained in:
Per Persson 2014-02-11 23:40:38 +01:00
parent e8f51acdb2
commit 4b061a0e4c

View File

@ -30,8 +30,8 @@ class EntityNotFoundException extends ORMException
/** /**
* Constructor. * Constructor.
*/ */
public function __construct() public function __construct($class)
{ {
parent::__construct('Entity was not found.'); parent::__construct("Entity of type '{$class}' was not found.");
} }
} }