Sign in Join
FPDoc Onlineexperiment

TExceptionEvent procedure type

In unit Forms

Defines an event handler signalled to perform exception handling in an application.

Declaration

pascal
TExceptionEvent = procedure(Sender: TObject; E: Exception) of object

Arguments

Sender

Object instance for the notification.

E

Exception instance for the notification.

Description

TExceptionEvent is an object procedure type that defines an event handler signalled to perform exception handling in an application. Arguments passed to the event handler identify the application generating the notification, and the exception class instance. Applications must implement an object procedure using the signature for the event, and assign it to an event handler to respond to the notification.

TExceptionEvent is the type used to implement exception handlers in TApplication and TApplicationProperties.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.