RAD Studio VCL Reference
TThread.FatalException Property

Determines whether the thread object is automatically destroyed when the thread terminates.

property FatalException: TObject;
__property TObject * FatalException;

If the Execute method raises an exception that is not caught and handled within that method, the thread terminates and sets FatalException to the exception object for that exception. Applications can check FatalException from an OnTerminate event handler to determine whether the thread terminated due to an exception. 


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