commit 93d50f1211e9169f1dfe5291ecd51bee3dce5e55 parent 84d67b868ec0c18579e205b4cf7949a47c4fb890 Author: Felicitus <felicitus@felicitus.org> Date: Wed, 7 Oct 2015 17:19:11 +0200 Added message to the RootNodeNotFoundException Diffstat:
M | src/PartKeepr/CategoryBundle/Exception/RootNodeNotFoundException.php | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/PartKeepr/CategoryBundle/Exception/RootNodeNotFoundException.php b/src/PartKeepr/CategoryBundle/Exception/RootNodeNotFoundException.php @@ -4,5 +4,9 @@ namespace PartKeepr\CategoryBundle\Exception; class RootNodeNotFoundException extends \Exception { - + public function __construct($message = "", $code = 0, \Exception $previous = null) + { + $message = "Root Category not found"; + parent::__construct($message, $code, $previous); + } }