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 /class.root.php (line 2212)

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

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$string
$trace
Methods
Constructor __construct (line 2233)

init exception class

  • since: 1.0.0
  • access: public
void __construct (string $msg, [integer $code = self::SYSTEM])
  • string $msg: exception message
  • integer $code: exception code

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

check, if execution is to be aborted

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

handle the exception - default entry point to trigger

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

format the exception and include debugging information

  • since: 1.0.0
  • access: protected
string system_exception ()

Inherited Methods

Inherited From Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Class Constants
SYSTEM = 0x01 (line 2216)
  • 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 2220)
  • var: use this flag to produce a nicer error message intended for users

Documentation generated on Tue, 21 Oct 2008 20:58:29 +0200 by phpDocumentor 1.4.1