Topic Path: Symbol Reference > Classes > TIdThread Class > TIdThread Properties > TerminatingExceptionClass Property
TIdThread.TerminatingExceptionClass Property

Represents the class type for an exception raised during Execute.

property TerminatingExceptionClass: TClass;

TerminatingExceptionClass is a read-only TClass property that represents the class type for an exception raised during the Execute method for the thread. Use TerminatingException to access the message for the exception raised. Use OnException to implement immediate exception handling prior to exiting from the Execute method and calling Terminate for the thread.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.