Web.HTTPApp.TCustomWebDispatcher.HandleException

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure HandleException(E: Exception; var Handled: Boolean);

C++

void __fastcall HandleException(System::Sysutils::Exception* E, bool &Handled);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp TCustomWebDispatcher

Description

Provides default handling of exceptions for the web application.

If an exception passes through all the try blocks in the web application code, the application automatically calls HandleException, which displays a dialog box indicating an error occurred. Unless the exception object is EAbort, HandleException calls the OnException event handler.

To assign other exception handling code for the web application, use the OnException event handler.

See Also