mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added NotImplementedException with status code 501
This commit is contained in:
parent
061483d03e
commit
daa695b4d3
1 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue