Module com.github.rvesse.airline
Class ParseArgumentsIllegalValueException
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.ParseArgumentsIllegalValueException
- 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
ConstructorsConstructorDescriptionParseArgumentsIllegalValueException
(String optionTitle, Object value, Set<Object> allowedValues) -
Method Summary
Modifier and TypeMethodDescriptionGets the set of allowed valuesGets the illegal valueGets the option titleMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
optionTitle
-
illegalValue
-
allowedValues
-
-
Constructor Details
-
ParseArgumentsIllegalValueException
-
-
Method Details
-
getOptionTitle
Gets the option title- Returns:
- Option title
-
getIllegalValue
Gets the illegal value- Returns:
- Illegal value
-
getAllowedValues
Gets the set of allowed values- Returns:
- Allowed values
-