jException

Extends \Exception

Jelix Exception

It handles locale messages. Message property contains the locale key, and a new property contains the localized message.

package

jelix

subpackage

core

Methods

__construct

__construct(string $localekey, array $localeParams = array(), integer $code = 1, string $lang = null, string $charset = null) 

Arguments

$localekey

string

a locale key

$localeParams

array

parameters for the message (for sprintf)

$code

integer

error code (can be provided by the localized message)

$lang

string

$charset

string

getter for the locale key

getLocaleKey() : string

Response

string

getter for the locale parameters

getLocaleParameters() : string

Response

string

Properties

the locale key

localeKey : string
var

Type(s)

string

parameters for the locale key

localeParams : 

Type(s)