\Horde_Exception_Wrapped

Horde exception class that can wrap and set its details from PEAR_Error, Exception, and other objects with similar interfaces.

Summary

Methods
Properties
Constants
getLogLevel()
setLogLevel()
__construct()
$details
$logged
No constants found
No protected methods found
$_logLevel
N/A
No private methods found
No private properties found
N/A

Properties

$details

$details : string

Error details that should not be part of the main exception message, e.g. any additional debugging information.

Type

string

$logged

$logged : boolean

Has this exception been logged?

Type

boolean

$_logLevel

$_logLevel : integer

The log level to use. A Horde_Log constant.

Type

integer

Methods

getLogLevel()

getLogLevel() : integer

Get the log level.

Returns

integer —

The Horde_Log constant for the log level.

setLogLevel()

setLogLevel(mixed  $level) 

Sets the log level.

Parameters

mixed $level

The log level.

__construct()

__construct(mixed  $message = null, integer  $code) 

Exception constructor.

Parameters

mixed $message

The exception message, a PEAR_Error object, or an Exception object.

integer $code

A numeric error code.