Orion PHP  0.11.12
The PHP5.3 framework
Orion\Core\Exception Class Reference
+ Inheritance diagram for Orion\Core\Exception:

List of all members.

Public Member Functions

 __construct ($message='An exception occured', $code=256, $caller=null)
 log ()
 traceback ()
 __toString ()

Protected Attributes

 $classname

Detailed Description

Orion exception class.

Extends standard Exception but with caller class handler

Author:
Thibaut Despoulain BSD 4-clauses
Version:
0.11.12

Definition at line 17 of file exception.php.


Constructor & Destructor Documentation

Orion\Core\Exception::__construct ( message = 'An exception occured',
code = 256,
caller = null 
)

Generates Exception

Parameters:
string$message
int$code
string$callerCaller class' name

Reimplemented in Orion\Core\Query\Exception, and Orion\Core\Security\Exception.

Definition at line 28 of file exception.php.


Member Function Documentation

Orion\Core\Exception::__toString ( )

Definition at line 48 of file exception.php.

Orion\Core\Exception::log ( )

Logs error to root error.log file

Definition at line 37 of file exception.php.

Orion\Core\Exception::traceback ( )

Definition at line 43 of file exception.php.


Member Data Documentation

Orion::Core\Exception::$classname [protected]

Definition at line 20 of file exception.php.


The documentation for this class was generated from the following file: