Unit 'CustApp' Package
[Overview][Types][Classes][Variables][Index] [#fcl]

TCustomApplication.OnException

Exception handling event.

Declaration

Source position: custapp.pp line 101

public property TCustomApplication.OnException : TExceptionEvent
  read FOnException
  write FOnException;

Description

OnException can be set to provide custom handling of exceptions, instead of the default action, which is simply to show the exception using ShowException.

If the event is set, then it is called by the HandleException routine. Do not use the OnException event directly, instead call HandleException.

See also

ShowException

  

Show an exception to the user.


Documentation generated on: Nov 22 2024