Package gavo :: Package web :: Module weberrors :: Class InternalServerErrorPage
[frames] | no frames]

Class InternalServerErrorPage

source code

                   object --+                
                            |                
       nevow.rend.DataFactory --+            
                                |            
                   object --+   |            
                            |   |            
     nevow.rend.RenderFactory --+            
                                |            
                   object --+   |            
                            |   |            
      nevow.rend.MacroFactory --+            
                                |            
                   object --+   |            
                            |   |            
 nevow.rend.ConfigurableMixin --+            
                                |            
              nevow.rend.Fragment --+        
                                    |        
   nevow.rend.ConfigurableFactory --+        
                                    |        
nevow.rend.FreeformChildMixin --+   |        
                                |   |        
      nevow.rend.ChildLookupMixin --+        
                                    |        
                      nevow.rend.Page --+    
                                        |    
                           object --+   |    
                                    |   |    
               common.CommonRenderers --+    
                                        |    
                                ErrorPage --+
                                            |
                                           InternalServerErrorPage

A catch-all page served when no other error page seemed responsible.

Nested Classes
  handles
The base class for all exceptions that can be expected to escape a module.
Instance Methods
 
data_excname(self, ctx, data) source code
 
renderInnerException(self, ctx)
called when rendering already has started.
source code
 
renderHTTP(self, ctx) source code

Inherited from ErrorPage: __init__, data_message, data_status, render_afterMessage, render_beforeMessage, render_footer, render_hint, render_message, render_rdlink, render_titlemessage

Inherited from nevow.rend.Page: __provides__, child_, flattenFactory, onPostFailure, onPostSuccess, rememberStuff, renderString, renderSynchronously, webFormPost

Inherited from nevow.rend.Fragment: get, remember, rend

Inherited from nevow.rend.DataFactory: __providedBy__, child

Inherited from nevow.rend.RenderFactory: render_data, render_mapping, render_sequence, render_string, render_xml, renderer

Inherited from nevow.rend.MacroFactory: macro

Inherited from nevow.rend.ConfigurableMixin: getBinding, getBindingNames, getDefault, postForm

Inherited from common.CommonRenderers: render_commonhead, render_getconfig, render_rootlink, render_unicode, render_urlescape

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from nevow.rend.ConfigurableFactory: configurable_, configurable_original, locateConfigurable

Inherited from nevow.rend.ChildLookupMixin: childFactory, locateChild, putChild

Inherited from nevow.rend.FreeformChildMixin: child_freeform_hand

Class Variables
  status = 500
  titleMessage = 'Uncaught Exception'
  beforeMessage = (Tag('p', children=['Your action has caused a(...
  afterMessage = Tag('p', children=['This is always a bug in our...

Inherited from ErrorPage: docFactory

Inherited from nevow.rend.Page: __implemented__, addSlash, afterRender, beforeRender, buffered

Inherited from nevow.rend.Fragment: original

Inherited from nevow.rend.ChildLookupMixin: children

Properties

Inherited from object: __class__

Method Details

renderInnerException(self, ctx)

source code 

called when rendering already has started.

We don't know where we're sitting, so we try to break out as well as we can.

renderHTTP(self, ctx)

source code 
Overrides: nevow.rend.Page.renderHTTP

Class Variable Details

beforeMessage

Value:
(Tag('p', children=['Your action has caused a(n) ', Tag('span', specia\
ls={'data': directive('excname'), 'render': <type 'str'>}), ' exceptio\
n to occur.  As additional info, the failing code gave:']))

afterMessage

Value:
Tag('p', children=['This is always a bug in our software, and we would\
 really be grateful for a report to the contact address below, prefera\
bly with a description of what you were trying to do, including any da\
ta pieces if applicable.  Thanks.'])