\JCORE\EXCEPTIONERROR

Class ERROR

Summary

Methods
Properties
Constants
__construct()
getCode()
setCode()
getMessage()
getConfigCode()
setMessage()
getData()
setData()
getError()
__toString()
__sleep()
__set_state()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$Code
$Message
$Data
N/A

Properties

$Code

$Code : object

code A Number that indicates the error type that occurred.

This MUST be an integer. message A String providing a short description of the error. The message SHOULD be limited to a concise single sentence. data A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).

code message data get_object_vars();

Type

object — Code

$Message

$Message : object

Message

Type

object

$Data

$Data : object

Data

Type

object

Methods

__construct()

__construct(  $args = null) : null

__construct

Parameters

$args

Returns

null

getCode()

getCode() : integer

getCode

Returns

integer

setCode()

setCode(  $Code = null) : mixed

setCode

Parameters

$Code

Returns

mixed

getMessage()

getMessage() : string

getMessage

Returns

string

getConfigCode()

getConfigCode(  $LOAD_ID = "ERROR",   $SECTION_NAME = null,   $SETTING_NAME = null) : array

getConfigCode

Parameters

$LOAD_ID
$SECTION_NAME
$SETTING_NAME

Returns

array

setMessage()

setMessage(  $Message = null) : string

setMessage

Parameters

$Message

Returns

string

getData()

getData() : mixed

getData

Returns

mixed

setData()

setData(  $Data = null) : mixed

setData

Parameters

$Data

Returns

mixed

getError()

getError(  $AsJSON = false) : mixed

getError

Parameters

$AsJSON

Returns

mixed

__toString()

__toString() : mixed

__toString

Returns

mixed

__sleep()

__sleep() : mixed

__sleep

Returns

mixed

__set_state()

__set_state(  $error = array('gdmf' => '')) : mixed

__set_state

Parameters

$error

Returns

mixed