Merge pull request #624 from tPl0ch/2.2-not-implemented

Added "NotImplementedException" to exceptions.php
This commit is contained in:
Mark Story 2012-04-25 13:13:55 -07:00
commit 474eb89c7d

View file

@ -555,3 +555,18 @@ class FatalErrorException extends CakeException {
}
}
/**
* Not Implemented Exception - used when an API method is not implemented
*
* @package Cake.Error
*/
class NotImplementedException extends CakeException {
protected $_messageTemplate = '%s is not implemented.';
public function __construct($message, $code = 501) {
parent::__construct($message, $code);
}
}