Class NotFoundException
Represents an HTTP 404 error.
-
Exception
-
RuntimeException
-
Izberg\Exception\HttpException
-
Izberg\Exception\NotFoundException
Methods summary
public
|
#
__construct( string $message = null, string $code = 404 )
Constructor
Parameters
- $message
- If no message is given 'Not Found' will be the message
- $code
- Status code, defaults to 404
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
Properties inherited from Exception
$code,
$file,
$line,
$message
|