ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
PEAR_Error ($message= 'unknown error', $code=null, $mode=null, $options=null, $userinfo=null) | |
PEAR_Error constructor. | |
getMode () | |
Get the error mode from an error object. | |
getCallback () | |
Get the callback function/method from an error object. | |
getMessage () | |
Get the error message from an error object. | |
getCode () | |
Get error code from an error object. | |
getType () | |
Get the name of this error/exception. | |
getUserInfo () | |
Get additional user-supplied information. | |
getDebugInfo () | |
Get additional debug information supplied by the application. | |
getBacktrace ($frame=null) | |
Get the call backtrace from where the error was generated. | |
addUserInfo ($info) | |
__toString () | |
toString () | |
Make a string representation of this object. |
Data Fields | |
$error_message_prefix = '' | |
$mode = PEAR_ERROR_RETURN | |
$level = E_USER_NOTICE | |
$code = -1 | |
$message = '' | |
$userinfo = '' | |
$backtrace = null |
PEAR_Error::__toString | ( | ) |
Definition at line 1055 of file PEAR.php.
References getMessage().
PEAR_Error::addUserInfo | ( | $info | ) |
PEAR_Error::getBacktrace | ( | $frame = null | ) |
Get the call backtrace from where the error was generated.
Supported with PHP 4.3.0 or newer.
int | $frame | (optional) what frame to fetch |
Definition at line 1030 of file PEAR.php.
References $backtrace.
PEAR_Error::getCallback | ( | ) |
PEAR_Error::getCode | ( | ) |
PEAR_Error::getDebugInfo | ( | ) |
Get additional debug information supplied by the application.
Definition at line 1014 of file PEAR.php.
References getUserInfo().
PEAR_Error::getMessage | ( | ) |
Get the error message from an error object.
Definition at line 957 of file PEAR.php.
Referenced by __toString(), and PEAR_Error().
PEAR_Error::getMode | ( | ) |
PEAR_Error::getType | ( | ) |
PEAR_Error::getUserInfo | ( | ) |
Get additional user-supplied information.
Definition at line 1000 of file PEAR.php.
References $userinfo.
Referenced by getDebugInfo().
PEAR_Error::PEAR_Error | ( | $message = 'unknown error' , |
|
$code = null , |
|||
$mode = null , |
|||
$options = null , |
|||
$userinfo = null |
|||
) |
PEAR_Error constructor.
string | $message | message |
int | $code | (optional) error code |
int | $mode | (optional) error mode, one of: PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION |
mixed | $options | (optional) error level, OR in the case of PEAR_ERROR_CALLBACK, the callback function or object/method tuple. |
string | $userinfo | (optional) additional user/debug info |
public
Definition at line 861 of file PEAR.php.
References $code, $message, $mode, $options, $userinfo, getMessage(), PEAR\getStaticProperty(), PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_EXCEPTION, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER.
Referenced by ilBMFFault\ilBMFFault(), IT_Error\IT_Error(), and MDB2_Error\MDB2_Error().
PEAR_Error::toString | ( | ) |
Make a string representation of this object.
Definition at line 1068 of file PEAR.php.
References PEAR_ERROR_CALLBACK, PEAR_ERROR_DIE, PEAR_ERROR_PRINT, PEAR_ERROR_RETURN, and PEAR_ERROR_TRIGGER.
PEAR_Error::$backtrace = null |
Definition at line 836 of file PEAR.php.
Referenced by getBacktrace().
PEAR_Error::$code = -1 |
Definition at line 833 of file PEAR.php.
Referenced by getCode(), ilBMFFault\getFault(), MDB2_Error\MDB2_Error(), and PEAR_Error().
PEAR_Error::$error_message_prefix = '' |
Definition at line 830 of file PEAR.php.
Referenced by ilBMFFault\getActor(), and ilBMFFault\getFault().
PEAR_Error::$level = E_USER_NOTICE |
Definition at line 832 of file PEAR.php.
Referenced by MDB2_Error\MDB2_Error().
PEAR_Error::$message = '' |
Definition at line 834 of file PEAR.php.
Referenced by ilBMFFault\getFault(), and PEAR_Error().
PEAR_Error::$mode = PEAR_ERROR_RETURN |
Definition at line 831 of file PEAR.php.
Referenced by getMode(), ilBMFFault\ilBMFFault(), MDB2_Error\MDB2_Error(), and PEAR_Error().
PEAR_Error::$userinfo = '' |
Definition at line 835 of file PEAR.php.
Referenced by ilBMFFault\getDetail(), ilBMFFault\getFault(), getUserInfo(), and PEAR_Error().