RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMultiModuleWebAppServices.ImplHandleException Method

Provides the underlying implementation of the HandleException method.

Pascal
procedure ImplHandleException(E: Exception; var Handled: Boolean); virtual;
C++
virtual __fastcall ImplHandleException(Exception E, Boolean Handled);

The HandleException method calls ImplHandleException to handle any exception that passes through all the try blocks in the application code. If ImplHandleException does not handle the exception, the WebSnap application displays a dialog box that indicates an error occurred. 

In TMultiModuleWebAppServices, ImplHandleException returns true, ignoring the exception that occurred. Descendant classes override this method to provide more meaningful responses, such as generating an OnException event or creating a response message that describes the exception to the caller. 

E is the exception object for the exception that occurred. 

Handled returns true if ImplHandleException handled the exception. If Handled returns false, the WebSnap application displays a dialog box that indicates an error occurred. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!