Class ParseOptionIllegalValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.rvesse.airline.parser.errors.ParseException
com.github.rvesse.airline.parser.errors.ParseRestrictionViolatedException
com.github.rvesse.airline.parser.errors.ParseOptionIllegalValueException
- All Implemented Interfaces:
Serializable
Exception thrown when the value for an option is not in a specific set of allowed values
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the set of allowed valuesGets the illegal valueGets the option name i.e.Gets the option value titleMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
optionName
-
optionTitle
-
illegalValue
-
allowedValues
-
-
Constructor Details
-
ParseOptionIllegalValueException
-
-
Method Details
-
getOptionName
Gets the option name i.e. the flag used to specify this option- Returns:
- Option name
-
getOptionTitle
-
getIllegalValue
-
getAllowedValues
-