RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
HTTPApp.TWebExceptionEvent Type

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

Pascal
TWebExceptionEvent = procedure (Sender: TObject; E: Exception; var Handled: Boolean) of object;
C++
(Sender: TObject; E: Exception; var Handled: Boolean) ( TWebExceptionEvent)();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!