Path

ez components / documentation / api reference / trunk / execution


eZ Components trunk

Execution

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Source for file execution_handler.php

Documentation is available at execution_handler.php

 1. <?php
 2. /**
 3.  * @copyright Copyright (C) 2005-2008 eZ systems as. All rights reserved.
 4.  * @license http://ez.no/licenses/new_bsd New BSD License
 5.  * @version //autogentag//
 6.  * @filesource
 7.  * @package Execution
 8.  */
 9.  
10. /**
11.  * Interface for Execution callback handlers.
12.  *
13.  * This interface describes the methods that an Execution callback handler
14.  * should implement.
15.  * @version //autogentag//
16.  *
17.  *  For an example see {@link ezcExecution}.
18.  *
19.  * @package Execution
20.  */
21. interface ezcExecutionErrorHandler
22. {
23.     /**
24.      * Processes an error situation
25.      *
26.      * This method is called by the ezcExecution environment whenever an error
27.      * situation (uncaught exception or fatal error) happens.  It accepts one
28.      * default parameter in case there was an uncaught exception.
29.      *
30.      * @param Exception $e 
31.      * @return void 
32.      */
33.     static public function onErrorException $e null );
34. }
35. ?>
Last updated: Mon, 10 Nov 2008