Internet Direct (Indy) Version 9.0.2 Beta
TIdTCPServer.OnException
Event handler for exceptions raised in a peer thread.

property OnException: TIdServerThreadExceptionEvent;
Description
OnException is a TIdServerThreadExceptionEvent property that represents the vent handler signalled when an Exception is raised during execition of a peer thread. OnException is called from TIdPeerThread using the Server context for the thread.

Applications must assign a procedure to the event handler to allow a response to the event notification.