RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TServerClientThread.HandleException Method

Displays an error message using the main VCL thread.

Pascal
procedure HandleException; virtual;
C++
virtual __fastcall HandleException();

HandleException obtains the current exception object and calls TApplication.ShowException (for descendants of Exception) or the global ShowException procedure (for other objects) to display an error message. HandleException wraps the call to ShowException in the Synchronize method to ensure that the call is thread-safe. 

 

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