Class ExitRequest

All Implemented Interfaces:
Serializable

public class ExitRequest extends RuntimeException
This exception, when thrown and caught, will ask the shell to gracefully shutdown.
See Also:
  • Constructor Details

    • ExitRequest

      public ExitRequest()
    • ExitRequest

      public ExitRequest(int code)
  • Method Details

    • status

      public int status()
      The exit code to be returned when the process exits.