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

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

Inherited Variables

Inherited from Exception (Internal Class)

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

check, if execution is to be aborted

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

handle the exception - default entry point to trigger

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

format the exception and include debugging information

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

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 = ] )

Inherited Methods

Inherited From Exception (Internal Class)

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

Documentation generated on Tue, 03 Mar 2009 17:58:08 +0100 by phpDocumentor 1.4.1