Kohana_User_Exception
extends Kohana_Exception
in package
Creates a custom exception.
Table of Contents
Properties
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
$id
protected
mixed
$id
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
stringgetTranslation()
Fetch the translation args.
public
getTranslation() : string
Return values
stringsendHeaders()
Sends an Internal Server Error header.
public
sendHeaders() : void