Source for file i_exception_listener.class.php
Documentation is available at i_exception_listener.class.php
// *** Tangra (Application Framework and Tools for PHP)
* Contains interface I_Exception_Listener
* When implemented shows that class can be registered in Exception_Handler
* Exception listeners are objects that are registered in Exception_Handler.
* Each exception is send to all listeners and they may take some action.
* Example for such listener is Exception_Listener_Screeen which prints the exception on the screen.
* Other potential examples are sending the exception to other server, etc.
* Exception_Handler will call this method to send the exception ot listener
public function error(Exception $e);
|