[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.HandleException

HandleException method for handling an exception; attempts to maintain program execution if possible, otherwise exits gracefully.

Declaration

Source position: forms.pp line 1511

public procedure TApplication.HandleException(

  Sender: TObject

); override;

Description

Individual exception handler methods should be supplied by the application programmer, to override place-holder entries declared in ancestor classes. This method checks whether the application is halted when an exception occurs, or invokes the appropriate handler. It also writes details about the exception to the appropriate place for debugging.

See also

TCustomApplication.HandleException