class NotFoundHttpException extends HttpException

Methods

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

No description

int
getStatusCode()

Returns the status code.

array
getHeaders()

Returns response headers.

setHeaders(array $headers)

Set response headers.

Details

at line line 24
__construct($message = null, Exception $previous = null, $code)

Parameters

$message
Exception $previous
$code

in HttpException at line line 32
int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code

in HttpException at line line 37
array getHeaders()

Returns response headers.

Return Value

array Response headers

in HttpException at line line 47
setHeaders(array $headers)

Set response headers.

Parameters

array $headers Response headers