From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.

ErrorNumber Message
Stack StackFrames


NOTE: Whenever you inadvertently catch an EndException, you MUST re-raise it. Failing to do so will confuse 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.