Package com.beust.jcommander
Class ParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.beust.jcommander.ParameterException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MissingCommandException
The main exception that JCommand will throw when something goes wrong while
parsing parameters.
- See Also:
-
Constructor Summary
ConstructorDescriptionParameterException
(String string) ParameterException
(String string, Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParameterException
-
ParameterException
-
ParameterException
-
-
Method Details
-
setJCommander
-
getJCommander
-
usage
public void usage()
-