Uses of Class
com.github.rvesse.airline.parser.errors.ParseRestrictionViolatedException
-
Packages that use ParseRestrictionViolatedException Package Description com.github.rvesse.airline.parser.errors com.github.rvesse.airline.restrictions.common -
-
Uses of ParseRestrictionViolatedException in com.github.rvesse.airline.parser.errors
Subclasses of ParseRestrictionViolatedException in com.github.rvesse.airline.parser.errors Modifier and Type Class Description class
ParseArgumentsIllegalValueException
Exception thrown when the value for an option is not in a specific set of allowed valuesclass
ParseArgumentsMissingException
Exception thrown when required arguments are missingclass
ParseArgumentsUnexpectedException
Exception that is thrown when a command receives unexpected argumentsclass
ParseCommandMissingException
Exception that is thrown when no command is specifiedclass
ParseCommandUnrecognizedException
Exception that is thrown when an unrecognized command is suppliedclass
ParseOptionGroupException
A parser exception that relates to a restriction violated where the violation pertains to some group of optionsclass
ParseOptionIllegalValueException
Exception thrown when the value for an option is not in a specific set of allowed valuesclass
ParseOptionMissingException
Exception that is thrown when a required option is missingclass
ParseOptionMissingValueException
Exception that is thrown when an option expects one/more values and no values are suppliedclass
ParseOptionOutOfRangeException
Error that indicates that an options value was outside of an acceptable rangeclass
ParseTooManyArgumentsException
Error that is thrown if too many arguments are provided -
Uses of ParseRestrictionViolatedException in com.github.rvesse.airline.restrictions.common
Methods in com.github.rvesse.airline.restrictions.common that return ParseRestrictionViolatedException Modifier and Type Method Description protected abstract <T> ParseRestrictionViolatedException
AbstractStringRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
Method that derived classes must implement to provide an exception for the case of an invalid argument value, this will be called ifAbstractStringRestriction.isValid(String)
returnsfalse
protected abstract <T> ParseRestrictionViolatedException
AbstractStringRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
Method that derived classes must implement to provide an exception for the case of an invalid option value, this will be called ifAbstractStringRestriction.isValid(String)
returnsfalse
protected <T> ParseRestrictionViolatedException
EndsWithRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
protected <T> ParseRestrictionViolatedException
EndsWithRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
protected <T> ParseRestrictionViolatedException
LengthRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
protected <T> ParseRestrictionViolatedException
LengthRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
protected <T> ParseRestrictionViolatedException
NoOptionLikeValuesRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
protected <T> ParseRestrictionViolatedException
NoOptionLikeValuesRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
protected <T> ParseRestrictionViolatedException
NotBlankRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
protected <T> ParseRestrictionViolatedException
NotBlankRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
protected <T> ParseRestrictionViolatedException
NotEmptyRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
protected <T> ParseRestrictionViolatedException
NotEmptyRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
protected <T> ParseRestrictionViolatedException
StartsWithRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)
protected <T> ParseRestrictionViolatedException
StartsWithRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
-