Class RecordNotFoundException

Exception raised when a particular record was not found

Exception
Extended by RuntimeException
Extended by Cake\Datasource\Exception\RecordNotFoundException

Method Detail

__constructsource public

__construct( string $message , integer $code 404 , Exception|null $previous null )

Constructor.

Parameters

string $message
The error message
integer $code optional 404
The code of the error, is also the HTTP status code for the error.
Exception|null $previous optional null
the previous exception.

Overrides

Exception::__construct()

Properties inherited from Exception

$codesource

protected integer

$filesource

protected mixed

$linesource

protected mixed

$messagesource

protected string

''

© 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.Datasource.Exception.RecordNotFoundException.html