org.apache.geronimo.gshell
Class ExitNotification
java.lang.Object
java.lang.Throwable
java.lang.Error
org.apache.geronimo.gshell.common.Notification
org.apache.geronimo.gshell.ExitNotification
- All Implemented Interfaces:
- Serializable
public class ExitNotification
- extends Notification
Thrown to indicate that the current shell should exit.
- Version:
- $Rev: 573969 $ $Date: 2007-09-09 02:19:20 -0700 (Sun, 09 Sep 2007) $
- See Also:
- Serialized Form
|
Method Summary |
static void |
exit()
|
static void |
exit(int code)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DEFAULT_CODE
public static final int DEFAULT_CODE
- See Also:
- Constant Field Values
ERROR_CODE
public static final int ERROR_CODE
- See Also:
- Constant Field Values
FATAL_CODE
public static final int FATAL_CODE
- See Also:
- Constant Field Values
code
public final int code
ExitNotification
public ExitNotification(int code)
ExitNotification
public ExitNotification()
exit
public static void exit(int code)
exit
public static void exit()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.