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:
-
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 Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseArgumentsIllegalValueException
-
-
Method Details
-
getOptionTitle
-
getIllegalValue
-
getAllowedValues
-