Class ExitException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.thetaphi.forbiddenapis.cli.ExitException
All Implemented Interfaces:
Serializable

final class ExitException extends Exception
Used by the CLI to signal process exit with a specific exit code
  • Field Details

    • exitCode

      public final int exitCode
  • Constructor Details

    • ExitException

      public ExitException(int exitCode)
    • ExitException

      public ExitException(int exitCode, String message)