Class CommandLine.ParameterException

Enclosing class:
CommandLine

public static class CommandLine.ParameterException extends RuntimeException
A command line that does not parse.
  • Constructor Details

    • ParameterException

      public ParameterException(CommandSpec spec, String message)
      Creates the exception for spec's command line.
    • ParameterException

      public ParameterException(CommandSpec spec, String message, Throwable cause)
      Creates the exception for spec's command line, caused by cause.
  • Method Details

    • getCommandSpec

      public CommandSpec getCommandSpec()
      The command whose arguments were wrong.