totalcross.sys
Class AppExitException
totalcross.lang.Object
totalcross.lang.Throwable
totalcross.lang.Exception
totalcross.lang.RuntimeException
totalcross.sys.AppExitException
- All Implemented Interfaces:
- java.io.Serializable
public class AppExitException
- extends totalcross.lang.RuntimeException
This exception is thrown when Event.handleOneEvent() encounteres an event
that requires the app 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 app can
properly exit. 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.
- See Also:
- Serialized Form
| Methods inherited from class totalcross.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class totalcross.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AppExitException
public AppExitException()
- Constructs an empty Exception.
AppExitException
public AppExitException(String msg)
- Constructs an exception with the given message.