Exception class for Cache. This exception will be thrown from Cache when it encounters an error.
__construct( string|array $message , integer $code 500 )
Constructor.
Allows you to create exceptions that are treated as framework errors and disabled when debug = 0.
$message
$code
optional 500 responseHeader( string|array $header null , string $value null )
Get/set the response header to be used
$header
optional null $value
optional null array
CakeResponse::header()
protected array
Array of attributes that are passed in from the constructor, and made available in the view when a development error is displayed.
array()
protected string
Template string that has attributes sprintf()'ed into it.
''
protected array
Array of headers to be passed to CakeResponse::header()
null
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/class-CacheException.html