TIWExceptionRenderer

<< Click to Display Table of Contents >>

Navigation:  Classes >

TIWExceptionRenderer

This class is responsible for rendering the HTML that will be returned to the browser when an unhandled exception occurs within your application (Server error 500). It loads and processes IntraWeb's standard error template. It is also used to display session timeout exceptions to the user.

 

Unhandled exceptions also contain the application stack trace, when available, and most informations generated by the TIWExceptionLogger class. When the request is local (originated from localhost), the standard error page contains all information generated by TIWExceptionLogger, otherwise only a subset of the information is rendered.

 

This class only has class methods and class vars, and should not be instantiated. Users may override it and register this new class using SetExceptionRendererClass.

 

SIGNATURE=IWExceptionRenderer.TIWExceptionRenderer

 

ETYPE=Class

 

Declaration:

Delphi:

public TIWExceptionRenderer = class;

C++:

public: class TIWExceptionRenderer;

 

TIWExceptionRenderer

 

Unit: IWExceptionRenderer.pas

 

Description: This is class IWExceptionRenderer.TIWExceptionRenderer.

 

New standard error page

 

clip0027

 

·Methods

·Properties