Class NotFoundException
Represents an HTTP 404 error.
- Exception implements Throwable
- RuntimeException
- HttpException
- NotFoundException
Package: Cake\Error
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Error/exceptions.php
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Error/exceptions.php
Inherited Properties
-
code
,file
,line
,message
Method Summary
-
__construct() public
Constructor
Method Detail
__construct() public ΒΆ
__construct( string $message = null , string $code = 404 )
Constructor
Parameters
- string $message optional null
- If no message is given 'Not Found' will be the message
- string $code optional 404
- Status code, defaults to 404
Overrides
Exception::__construct()