public class AppExitException
extends java.lang.RuntimeException
Event.handleOneEvent()
finds an event that requires the application to exit. The main purpose of this
event is to unwind the stack all the way back to the main event loop so that the application can exit properly. It is mostly used to exit the VM
when a window is open with the popup()
method.
WARNING: DO NOT CATCH THIS EXCEPTION IN YOUR APP UNLESS YOU KNOW WHAT YOU ARE DOING.
Constructor and Description |
---|
AppExitException()
Constructs an empty Exception.
|
AppExitException(java.lang.String msg)
Constructs an exception with the given message.
|