Class

Symfony\Component\HttpKernel\Exception\NotFoundHttpException

class NotFoundHttpException extends HttpException

NotFoundHttpException.

Methods

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

Constructor.

integer getStatusCode()

Returns the status code.

from HttpException
array getHeaders()

Returns response headers.

from HttpException

Details

at line 28
public __construct(string $message = null, Exception $previous = null, integer $code)

Constructor.

Parameters

string $message The internal exception message
Exception $previous The previous exception
integer $code The internal exception code

in HttpException at line 32
public integer getStatusCode()

Returns the status code.

Return Value

integer An HTTP response status code

in HttpException at line 37
public array getHeaders()

Returns response headers.

Return Value

array Response headers