EndException

From Real Software Documentation

Jump to: navigation, search
Class (inherits from RuntimeException)

An EndException is raised when you call Quit. It causes the application to quit gracefully. Usually you do not see the EndException unless you use a “catch-all” Exception statement.


NOTE: Whenever you inadvertently catch an EndException, you MUST re-raise it. Failing to do so will mess up the runtime environment and lead to unpredictable problems. See Exception statement for more information about its proper use.


See Also

RuntimeException class; Function, Raise statements; Nil datatype; Exception, Try statements.

Personal tools