Class XFE

Description

well, XFE is my little own interpretation of a dump after catching an exception.

well, XFE is my little own interpretation of a dump after catching an exception. yes, i know my usage is not the real intention of exceptions. it is just another way of doing 'trigger_error()' at the moment. the 'getTraceAsString()' is what i like :D

Located in /lb_private/class.root.php (line 2720)

Exception
   |
   --XFE
Class Constant Summary
 SYSTEM = 0x01
 USER = 0x02
Variable Summary
boolean $abort
string $ulei
Method Summary
boolean check_abort ()
void handle ()
string system_exception ()
void __construct (string $msg, [integer $code = self::SYSTEM], [string $add = ''])
Variables
boolean $abort = false (line 2732)
  • var: abort flag for ajax requests
  • access: protected
string $ulei = '' (line 2736)
  • var: user level exception id
  • access: protected

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$string
$trace
Methods
check_abort (line 2822)

check, if execution is to be aborted

check, if execution is to be aborted

  • since: 1.0.0
  • access: public
boolean check_abort ()
handle (line 2792)

handle the exception - default entry point to trigger

handle the exception - default entry point to trigger

  • since: 1.0.0
  • access: public
void handle ()
system_exception (line 2756)

format the exception and include debugging information

format the exception and include debugging information

  • since: 1.0.0
  • access: protected
string system_exception ()
Constructor __construct (line 2746)

init exception class

init exception class

  • since: 1.0.0
  • access: public
void __construct (string $msg, [integer $code = self::SYSTEM], [string $add = ''])
  • string $msg: exception message
  • integer $code: exception code
  • string $add: additional id string on USER

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ] )

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Class Constants
SYSTEM = 0x01 (line 2724)
  • var: use this flag on 'throw new XFE' as second argument to create a 'system exception'. this is default and makes a 'cold' report listing...
USER = 0x02 (line 2728)
  • var: use this flag to produce a nicer error message intended for users

Documentation generated on Sun, 20 Jun 2010 11:59:19 +0200 by phpDocumentor 1.4.3