Skip to content

TCustomApplication.OnException

Exception handling event.

Declaration

Source position: custapp.pp line 104

public property OnException: TExceptionEvent;

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

Name Description
ShowException Show an exception to the user.