Module com.github.rvesse.airline
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the set of allowed valuesGets the illegal valueGets the option name i.e. the flag used to specify this optionGets the option value titleMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseOptionIllegalValueException
-
-
Method Details
-
getOptionName
Gets the option name i.e. the flag used to specify this option- Returns:
- Option name
-
getOptionTitle
Gets the option value title- Returns:
- Option title
-
getIllegalValue
Gets the illegal value- Returns:
- Illegal value
-
getAllowedValues
Gets the set of allowed values- Returns:
- Allowed values
-