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

Declaration
property OnException: TNotifyEvent;  

Description
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.  
File not found.