Class ExitShellException

All Implemented Interfaces:
Serializable

public class ExitShellException extends RuntimeException
This exception is thrown by commands (e.g. an exit command) to indicate that the shell should exit.

If a message is provided it will be printed to the terminal when the shell exits.

See Also:
  • Constructor Details

    • ExitShellException

      public ExitShellException()
    • ExitShellException

      public ExitShellException(int exitCode)
    • ExitShellException

      public ExitShellException(String message)
    • ExitShellException

      public ExitShellException(String message, int exitCode)
  • Method Details