RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultiModuleWebAppServices.GetExceptionHandler Method

Returns the object that handles exceptions that arise in the WebSnap application.

Pascal
function GetExceptionHandler: TObject;
C++
__fastcall TObject * GetExceptionHandler();

GetExceptionHandler returns the object that the WebSnap application should call when an exception is raised while trying to process a request message. The request handler must implement the IWebExceptionHandler interface, which includes only a single method: HandleException

In TMultiModuleWebAppServices, GetExceptionHandler returns self this, because TMultiModuleWebAppServices implements the IWebExceptionHandler interface. 

 

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