Class ParameterException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingCommandException

public class ParameterException extends RuntimeException
The main exception that JCommand will throw when something goes wrong while parsing parameters.
See Also:
  • Constructor Details

    • ParameterException

      public ParameterException(Throwable t)
    • ParameterException

      public ParameterException(String string)
    • ParameterException

      public ParameterException(String string, Throwable t)
  • Method Details

    • setJCommander

      public void setJCommander(JCommander jc)
    • getJCommander

      public JCommander getJCommander()
    • usage

      public void usage()