exception

An event which occurs at run time for which the program may want to check. Exceptions in 4GL include: run-time errors, (an error returned by a database server, a state initiated by a stored procedure statement, or an error detected by the database application program), an unsuccessful database query (status variable is set to NOTFOUND), and warnings (SQL conditions), and the pressing of the Interrupt or Quit key.

See also error, exception handling, Interrupt key, Quit key, status variable, warning.