public class AppExitException extends totalcross.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
WARNING: DO NOT CATCH THIS EXCEPTION IN YOUR APP UNLESS YOU KNOW WHAT YOU ARE DOING.
|Constructor and Description|
Constructs an empty Exception.
Constructs an exception with the given message.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AppExitException(String msg)
msg- The error message.