code/libraries/joomlatools/component/koowa/dispatcher/http.php
protected function _enableExceptionHandler(KDispatcherContextInterface $context)
    {
        $handler = $this->getObject('exception.handler');

        if (!$handler->isEnabled(KExceptionHandlerInterface::TYPE_EXCEPTION))
        {
            $handler->enable(KExceptionHandlerInterface::TYPE_EXCEPTION);
            $this->addCommandCallback('after.send', '_revertExceptionHandler');
        }
    }
protected function _enableExceptionHandler(KDispatcherContextInterface $context)
    {
        $handler = $this->getObject('exception.handler');

        if (!$handler->isEnabled(KExceptionHandlerInterface::TYPE_EXCEPTION))
        {
            $handler->enable(KExceptionHandlerInterface::TYPE_EXCEPTION);
            $this->addCommandCallback('after.send', '_revertExceptionHandler');
        }
    }
protected function _enableExceptionHandler ( KDispatcherContextInterface $ context ) { $ handler = $ this -> getObject ( 'exception.handler' ) ; if ( ! $ handler -> isEnabled ( KExceptionHandlerInterface :: TYPE_EXCEPTION ) ) { $ handler -> enable ( KExceptionHandlerInterface :: TYPE_EXCEPTION ) ; $ this -> addCommandCallback ( 'after.send' , '_revertExceptionHandler' ) ; } }
Enables our own exception handler at all times before dispatching

@param KDispatcherContextInterface $context
Enables our own exception handler at all times before dispatching