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.
Located in /core/exception_handler.class.php [line 29]
Tangra_Class | --Exception_Handler
Properties
Methods
Inherited From Tangra_Class
Tangra_Class::get_class_name() Alias of get_class(). Exist because of historical reasons. Tangra_Class::__set() Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.
Simple array that contains registered listeners
boolean add_listener( I_Exception_Listener $el )
Adds new listener
void handler( $e )
Calls each of the registered listeners with exceptin $e as parameter.