Internet Direct (Indy) Version 9.0.2 Beta
TIdExceptionEvent
Specifies the event type for thread exceptions.

TIdExceptionEvent = procedure (ASender: TObject; AException: Exception) of object;
Description
TIdExceptionEvent is an event type that allows event notifications to an event handler when exceptions are raised in a thread of execution. TIdThread.OnException is an event handler that accepts the TIdExceptionEvent event type.