thread OnException event
Return to Introduction  Previous page  Next page
Applies to
acThread, acSQLQueryThread and acAppEvents components.  

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.