Heratio Framework API Reference

sfError404Exception extends sfException
in package

Table of Contents

Methods

__construct()  : mixed
createFromException()  : mixed
Wrap another exception.
getLastException()  : mixed
Get the last exception.
getName()  : mixed
Get the name of the exception.
printStackTrace()  : mixed
Print error or forward to 404 page.

Methods

__construct()

public __construct([string $message = null ][, mixed $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = null

Error message

$code : mixed = 0
$previous : Throwable|null = null

createFromException()

Wrap another exception.

public static createFromException(Throwable $e) : mixed
Parameters
$e : Throwable

getLastException()

Get the last exception.

public static getLastException() : mixed

printStackTrace()

Print error or forward to 404 page.

public printStackTrace() : mixed

        
On this page

Search results