Internet Direct (Indy)
Home
PreviousUpNext
TIdThread.TerminatingExceptionClass Property

Represents the class type for an exception raised during Execute.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.