Represents an HTTP 404 error.
__construct( string|null $message null , integer $code 404 )
Constructor
$message
optional null $code
optional 404 Cake\Core\Exception\Exception::__construct()
responseHeader( string|array|null $header null , string $value null )
Get/set the response header to be used
See also Cake\Network\Response::header()
$header
optional null $value
optional null array
protected array
Array of attributes that are passed in from the constructor, and made available in the view when a development error is displayed.
[]
protected string
Template string that has attributes sprintf()'ed into it.
''
protected array
Array of headers to be passed to Cake\Network\Response::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/3.1/class-Cake.Network.Exception.NotFoundException.html