ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilDelegatingHandler.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2015 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
24
25final class ilDelegatingHandler extends Handler {
30
32 $this->error_handling = $error_handling;
33 }
34
43 public function handle() {
44 if (defined("IL_INITIAL_WD"))
45 {
46 chdir(IL_INITIAL_WD);
47 }
48 $handler = $this->error_handling->getHandler();
49 $handler->setRun($this->getRun());
50 $handler->setException($this->getException());
51 $handler->setInspector($this->getInspector());
52 $handler->handle();
53 }
54}
55
56?>
An exception for terminatinating execution or to throw for unit testing.
Abstract implementation of a Handler.
Definition: Handler.php:16
__construct(ilErrorHandling $error_handling)
handle()
Last missing method from HandlerInterface.
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27
const IL_INITIAL_WD
Definition: error.php:5