RAD Studio VCL Reference
|
Provides default handling of exceptions for the application.
procedure HandleException(Sender: TObject);
__fastcall HandleException(TObject * Sender);
If an exception passes through all the try blocks in the 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, if one exists. Otherwise, it calls ShowException to display a message dialog box indicating an error occurred.
To assign other exception handling code for the application, use the OnException event handler.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|