interface ExceptionInterface implements Throwable

Interface ExceptionInterface.

Constants

MSG_GENERIC

CODE_GENERIC

MSG_BAD_FUNCTION_CALL

CODE_BAD_FUNCTION_CALL

MSG_INVALID_ARGUMENT

CODE_INVALID_ARGUMENT

MSG_LOGIC

CODE_LOGIC

MSG_RUNTIME

CODE_RUNTIME

Methods

create( null|string $message = null, mixed $parameters)

No description

string
__toString()

No description

mixed[]
__debugInfo()

No description

string
getMessage()

No description

int
getCode()

No description

string
getFile()

No description

int
getLine()

No description

getPrevious()

No description

mixed[]
getTrace()

No description

string
getDefaultMessage()

No description

int
getDefaultCode()

No description

$this
with( mixed $parameters)

No description

$this
setMessage( string $message, mixed $replacements)

No description

$this
setCode( int $code)

No description

$this
setFile( string|SplFileInfo $file)

No description

$this
setLine( int $line)

No description

$this
setPrevious( null|Exception|Throwable|Error $throwable)

No description

$this
setAttributes( array $attributes = array())

No description

mixed[]
getAttributes()

No description

$this
addAttribute( mixed $attribute, null|string $key = null)

No description

null|mixed
getAttribute( string $key)

No description

bool
hasAttribute( string $key)

No description

mixed[]
getTraceLimited()

No description

string
getType( false|bool $qualified = false)

No description

Details

at line line 76
static ExceptionInterface create( null|string $message = null, mixed $parameters)

Parameters

null|string $message
mixed $parameters

Return Value

ExceptionInterface

at line line 81
string __toString()

Return Value

string

at line line 86
mixed[] __debugInfo()

Return Value

mixed[]

at line line 91
string getMessage()

Return Value

string

at line line 96
int getCode()

Return Value

int

at line line 101
string getFile()

Return Value

string

at line line 106
int getLine()

Return Value

int

at line line 111
null|Throwable|Exception|Error getPrevious()

Return Value

null|Throwable|Exception|Error

at line line 116
mixed[] getTrace()

Return Value

mixed[]

at line line 121
string getDefaultMessage()

Return Value

string

at line line 126
int getDefaultCode()

Return Value

int

at line line 133
$this with( mixed $parameters)

Parameters

mixed $parameters

Return Value

$this

at line line 141
$this setMessage( string $message, mixed $replacements)

Parameters

string $message
mixed $replacements

Return Value

$this

at line line 148
$this setCode( int $code)

Parameters

int $code

Return Value

$this

at line line 155
$this setFile( string|SplFileInfo $file)

Parameters

string|SplFileInfo $file

Return Value

$this

at line line 162
$this setLine( int $line)

Parameters

int $line

Return Value

$this

at line line 169
$this setPrevious( null|Exception|Throwable|Error $throwable)

Parameters

null|Exception|Throwable|Error $throwable

Return Value

$this

at line line 176
$this setAttributes( array $attributes = array())

Parameters

array $attributes

Return Value

$this

at line line 181
mixed[] getAttributes()

Return Value

mixed[]

at line line 189
$this addAttribute( mixed $attribute, null|string $key = null)

Parameters

mixed $attribute
null|string $key

Return Value

$this

at line line 196
null|mixed getAttribute( string $key)

Parameters

string $key

Return Value

null|mixed

at line line 203
bool hasAttribute( string $key)

Parameters

string $key

Return Value

bool

at line line 208
mixed[] getTraceLimited()

Return Value

mixed[]

at line line 215
string getType( false|bool $qualified = false)

Parameters

false|bool $qualified

Return Value

string