thread OnException event
Return to Introduction  Previous page  Next page
Applies to
auThread component.  

property OnException: TNotifyEvent;  

The OnException event occurs if something has been failed on execution of thread, in the OnExecute event handler.  
Note that OnException event will NOT occurs if HandleExceptions property = False, that means that you would like to handle exceptions "manually" in OnExecute event handler.  

See also
OnExecute and OnTerminate events;  
HandleExceptions property.