Package totalcross.sys
Class AppExitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- totalcross.sys.AppExitException
-
- All Implemented Interfaces:
java.io.Serializable
public class AppExitException extends java.lang.RuntimeExceptionThis exception is thrown whenEvent.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 thepopup()method.WARNING: DO NOT CATCH THIS EXCEPTION IN YOUR APP UNLESS YOU KNOW WHAT YOU ARE DOING.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AppExitException()Constructs an empty Exception.AppExitException(java.lang.String msg)Constructs an exception with the given message.
-