Horde_Registry::_pushAppError PHP Method

_pushAppError() protected method

Process Exceptions thrown when pushing app on stack.
protected _pushAppError ( Exception $e, integer $error )
$e Exception The thrown Exception.
$error integer The pushApp() error type.
    protected function _pushAppError(Exception $e, $error)
    {
        if ($e instanceof Horde_Exception_HookNotSet) {
            return;
        }
        /* Hook errors are already logged. */
        if ($error == self::INITCALLBACK_FATAL) {
            Horde::log($e);
        }
        $app = $this->getApp();
        $this->applications[$app]['status'] = 'inactive';
        $this->popApp();
        throw new Horde_Exception_PushApp($e, $error, $app);
    }