Class UsageException

All Implemented Interfaces:
Serializable

public class UsageException extends RuntimeException
A Usage Error has occurred. Print the usage and exit with the appropriate exit code.
See Also:
  • Field Details

  • Constructor Details

    • UsageException

      public UsageException(int exitCode, String message)
    • UsageException

      public UsageException(int exitCode, String format, Object... objs)
    • UsageException

      public UsageException(String format, Object... objs)
    • UsageException

      public UsageException(int exitCode, Throwable cause)
  • Method Details

    • getExitCode

      public int getExitCode()