diff --git a/cake/libs/cake_request.php b/cake/libs/cake_request.php index 7a464f742a1..ec05c55d202 100644 --- a/cake/libs/cake_request.php +++ b/cake/libs/cake_request.php @@ -13,7 +13,6 @@ * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) * @link http://cakephp.org CakePHP(tm) Project * @package cake - * @subpackage cake.cake.libs * @since CakePHP(tm) v 2.0 * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ @@ -27,6 +26,7 @@ * * `$request['controller']` or `$request->controller`. * + * @package cake.libs */ class CakeRequest implements ArrayAccess { /** diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 4cde4c312b7..2ac674109bb 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -1220,5 +1220,3 @@ public function _scaffoldError($method) { return false; } } - -class MissingModelException extends RuntimeException {} diff --git a/cake/libs/error/exceptions.php b/cake/libs/error/exceptions.php index 7c1ff2a01a6..473b2dbee3d 100644 --- a/cake/libs/error/exceptions.php +++ b/cake/libs/error/exceptions.php @@ -301,6 +301,8 @@ class MissingHelperClassException extends CakeException { /** * Runtime Exceptions for ConnectionManager + * + * @package cake.libs */ class MissingDatabaseException extends CakeException { protected $_messageTemplate = 'Database connection "%s" could not be found.'; @@ -368,3 +370,12 @@ class MissingShellFileException extends CakeException { class MissingTableException extends CakeException { protected $_messageTemplate = 'Database table %s for model %s was not found.'; } + +/** + * Exception Raised when a Model could not be found. + * + * @package cake.libs + */ +class MissingModelException extends CakeException { + protected $_messageTemplate = 'Model %s could not be found.'; +} \ No newline at end of file