Package org.jline.shell
Class ExitShellException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jline.shell.ExitShellException
-
- All Implemented Interfaces:
java.io.Serializable
public class ExitShellException extends java.lang.RuntimeExceptionThis 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExitShellException()ExitShellException(int exitCode)ExitShellException(java.lang.String message)ExitShellException(java.lang.String message, int exitCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablefillInStackTrace()intgetExitCode()
-