Adding @package tags.

Moving MissingModelException with the other exceptions.
This commit is contained in:
mark_story 2010-12-05 00:02:20 -05:00
parent ad80609841
commit 5f47de7658
3 changed files with 12 additions and 3 deletions

View file

@ -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 @@ App::import('Core', 'Set');
*
* `$request['controller']` or `$request->controller`.
*
* @package cake.libs
*/
class CakeRequest implements ArrayAccess {
/**

View file

@ -1220,5 +1220,3 @@ class Controller extends Object {
return false;
}
}
class MissingModelException extends RuntimeException {}

View file

@ -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.';
}