Sign in Join
FPDoc Onlineexperiment

TSQLScript.OnException property

Member of TSQLScriptpublishedIn unit SQLDB

Exception handling event.

Declaration

pascal
property OnException:;

Description

OnException can be set to handle an exception during the execution of a statement or directive when the script is executed. The exception is passed to the handler in the TheException parameter. On return, the value of the Continue parameter is checked: if it is set to True, then the exception is ignored. If it is set to False (the default), then the exception is re-raised, and script execution will stop.

See also

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