jExceptionSelector

Extends \jException

Exception for selector errors

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

package

jelix

subpackage

core_selector

Methods

__construct

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

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
inherited

Response

string

getter for the locale parameters

getLocaleParameters() : string
inherited

Response

string

Properties

the locale key

localeKey : string
inherited
var

Type(s)

string

parameters for the locale key

localeParams : 
inherited

Type(s)