IMuException

require_once IMu::$lib . '/Exception.php';

Since: 1.0

Description

Class for IMu-specific exceptions.

Constructors

Constructor

Details

__construct($id, $args)

__construct(string $id, mixed $args)

Creates an IMu-specific exception.

Parameters:

$id (string)

A string exception code.

$args (mixed)

Any additional arguments used to provide further information about the exception.

Properties

Property

Details

args

The set of arguments associated with the exception.

Type:

mixed

Getter:

mixed getArgs()

Setter:

setArgs(mixed $value)

id

The unique identifier assigned to the server-side object once it has been created.

Type:

string

Getter:

string getID()

Methods

Method

Details

toString()

string __toString()

Overrides the standard PHP _toString( ) method.

Returns:

string

A string description of the exception.