Table des matières

Error_Gesture

Description : This class lets you handle exceptions and errors.
Php : 5.3
Category : Error
Package : Core
Author : Tavm@n <tavman@gmail.com>
License : http://creativecommons.org/licenses/by-nc/2.0/
Link : none
See : index.php
Version : I-Radian v2.0.alpha 1
Since : 2010/01/27


Haut de page

newError

Description : Throw an exception for an error.
Signature : public static function newError ($iErrNo, $sErrStr, $sErrFile, $iErrLine)
Param : $iErrNo (Int) : Error number.


Haut de page

throwException

Description : Generate an exception.
Signature : public static function throwException ($sException, $iLevel, $sExceptionClass='Exception')
Param : $sException (String) : Exception explanation.


Haut de page

__construct

Description : [Constructor] Automatically create when an exception is thrown.
Signature : public function __construct (Exception $e)
Param : Exception $e (Object) : Exception thrown.