Documentation

Kohana_User_Exception extends Kohana_Exception
in package

Creates a custom exception.

Table of Contents

Properties

$code  : mixed
$header  : mixed
$id  : mixed

Methods

__construct()  : mixed
Set exception title and message.
__toString()  : string
Magic method for converting an object to a string.
getTemplate()  : string
Fetch the template name.
getTranslation()  : string
Fetch the translation args.
sendHeaders()  : void
Sends an Internal Server Error header.

Properties

$code

protected mixed $code = \E_KOHANA

$header

protected mixed $header = \FALSE

Methods

__construct()

Set exception title and message.

public __construct(string $title, string $message) : mixed
Parameters
$title : string

exception title string

$message : string

exception message string

__toString()

Magic method for converting an object to a string.

public __toString() : string
Return values
string —

i18n message

getTemplate()

Fetch the template name.

public getTemplate() : string
Return values
string

getTranslation()

Fetch the translation args.

public getTranslation() : string
Return values
string

sendHeaders()

Sends an Internal Server Error header.

public sendHeaders() : void
On this page

Search results