Web.HTTPApp.TWebExceptionEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TWebExceptionEvent)(System::TObject* Sender, System::Sysutils::Exception* E, bool &Handled);

Properties

Type Visibility Source Unit Parent
typedef public Web.HTTPApp.hpp Web.HTTPApp Web.HTTPApp

Description

TWebExceptionEvent is the type of event handlers that respond when exceptions occur while processing an HTTP request message.

TWebExceptionEvent is the type for event handlers that handle exceptions for a Web server application.

Sender is the dispatcher component that caught the exception.

E is the exception object for the exception that arose.

Handled returns true if the event handler took care of the exception. If the event handler returns false as the value of Handled, the Web server application performs its default response to exceptions. This default response varies, depending on the dispatcher.

See Also