Class XFE

Description

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 2545)

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 2557)
  • var: abort flag for ajax requests
  • access: protected
string $ulei = '' (line 2561)
  • var: user level exception id
  • access: protected
Methods
check_abort (line 2646)

check, if execution is to be aborted

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

handle the exception - default entry point to trigger

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

format the exception and include debugging information

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

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
Class Constants
SYSTEM = 0x01 (line 2549)
  • 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 2553)
  • var: use this flag to produce a nicer error message intended for users

Documentation generated on Sat, 20 Jun 2009 12:43:53 +0200 by phpDocumentor 1.4.1