org.apache.geronimo.gshell
Class ExitNotification

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.apache.geronimo.gshell.common.Notification
              extended by 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

Field Summary
 int code
           
static int DEFAULT_CODE
           
static int ERROR_CODE
           
static int FATAL_CODE
           
 
Constructor Summary
ExitNotification()
           
ExitNotification(int code)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ExitNotification

public ExitNotification(int code)

ExitNotification

public ExitNotification()
Method Detail

exit

public static void exit(int code)

exit

public static void exit()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.