Source for file exception_handler.class.php
Documentation is available at exception_handler.class.php
// *** Tangra (Application Framework and Tools for PHP)
* Contains class Exception_Handler
require_once(TANGRA_MAIN_DIR. 'interfaces/i_exception_listener.class.php');
* Used for central registar for exception listeners.
* Exception_Handler is used to register all exception listeners and call each one of them when exception occures.
* Normally this class is not used directly by the users.
* Simple array that contains registered listeners
* @param I_Exception_Listener $el
* @return boolean Returns true on success and false on failure
* Calls each of the registered listeners with exceptin $e as parameter.
public function handler(Exception $e) {
|