From 2e8a60f93244c08db65de0cc3ef3b47aaaefa417 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 2 Sep 2010 16:38:19 -0400 Subject: [PATCH] Removing some mentions of cakeError as its been removed. Also adding information about exceptions that can be raised. --- cake/libs/controller/controller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 97cfa8a4d..88be76e90 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -491,9 +491,10 @@ class Controller extends Object { * see Controller::loadModel(); for more info. * Loads Components and prepares them for initialization. * - * @return mixed true if models found and instance created, or cakeError if models not found. + * @return mixed true if models found and instance created. * @see Controller::loadModel() * @link http://book.cakephp.org/view/977/Controller-Methods#constructClasses-986 + * @throws MissingModelException */ public function constructClasses() { $this->__mergeVars();