browser.exceptions - Browser Exceptions¶
-
class
waeup.kofa.browser.exceptions.
ExceptionView
(context, request)[source]¶ Bases:
grok.components.View
,zope.errorview.browser.ExceptionView
,zope.errorview.http.SystemErrorViewMixin
Base class for rendering views for uncaught exceptions that occur during the application run-time and are not otherwise rendered.
Backport from Grok 1.6.
XXX: This view is shared for all apps and objects in the ZODB root.
-
__doc__
= 'Base class for rendering views for uncaught exceptions that occur during\n the application run-time and are not otherwise rendered.\n\n Backport from Grok 1.6.\n\n XXX: This view is shared for all apps and objects in the ZODB root.\n '¶
-
__module__
= 'waeup.kofa.browser.exceptions'¶
-
-
class
waeup.kofa.browser.exceptions.
NotFoundPage
(context, request)[source]¶ Bases:
waeup.kofa.browser.layout.KofaPage
A page rendered when an object cannot be found.
XXX: This page won’t work for objects above a w.k.University.
-
__doc__
= "A page rendered when an object cannot be found.\n\n XXX: This page won't work for objects above a w.k.University.\n "¶
-
__module__
= 'waeup.kofa.browser.exceptions'¶
-
title
= u'404: File Not Found'¶
-
Bases:
grok.components.View
,zope.errorview.browser.UnauthorizedView
Base class for rendering views for IUnauthorized exceptions.
Backport from grok 1.6. This is only a view (not a page) because we cannot trust that the associated
Unauthorized
exceptions happened inside a w.k. site.If not, then we have no layout available at time of rendering.
XXX: This view is shared for all apps and objects in the ZODB root.