Class InvalidPrimaryKeyException
Exception raised when a particular record was not found
- Exception implements Throwable
-
RuntimeException
-
Cake\Datasource\Exception\InvalidPrimaryKeyException
Inherited Properties
-
code
,file
,line
,message
Method Summary
-
__construct() public
Constructor.
Method Detail
__construct() 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()