[Overview][Types][Classes][Variables][Index] Reference for unit 'CustApp' (#fcl)


Exception handling event


Source position: custapp.pp line 92

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


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



Show an exception to the user

Documentation generated on: May 14 2021