Package org.djutils.cli
Class ExitHelper.ExitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.SecurityException
-
- org.djutils.cli.ExitHelper.ExitException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ExitHelper
public static class ExitHelper.ExitException extends SecurityException
Exception that will be thrown instead of the System.exit() call.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
status
the exit code.
-
Constructor Summary
Constructors Constructor Description ExitException(int status)
Instantiate the exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-