'Execute all registered Hooks (callbacks) for the given point.'

def run(self, point):

    exc = None
    hooks = self[point]
    hooks.sort()
    for hook in hooks:
        if ((exc is None) or hook.failsafe):
            try:
                hook()
            except (KeyboardInterrupt, SystemExit):
                raise
            except (cherrypy.HTTPError, cherrypy.HTTPRedirect, cherrypy.InternalRedirect):
                exc = sys.exc_info()[1]
            except:
                exc = sys.exc_info()[1]
                cherrypy.log(traceback=True, severity=40)
    if exc:
        raise exc
