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 classParseArgumentsIllegalValueExceptionException thrown when the value for an option is not in a specific set of allowed valuesclassParseArgumentsMissingExceptionException thrown when required arguments are missingclassParseArgumentsUnexpectedExceptionException that is thrown when a command receives unexpected argumentsclassParseCommandMissingExceptionException that is thrown when no command is specifiedclassParseCommandUnrecognizedExceptionException that is thrown when an unrecognized command is suppliedclassParseOptionGroupExceptionA parser exception that relates to a restriction violated where the violation pertains to some group of optionsclassParseOptionIllegalValueExceptionException thrown when the value for an option is not in a specific set of allowed valuesclassParseOptionMissingExceptionException that is thrown when a required option is missingclassParseOptionMissingValueExceptionException that is thrown when an option expects one/more values and no values are suppliedclassParseOptionOutOfRangeExceptionError that indicates that an options value was outside of an acceptable rangeclassParseTooManyArgumentsExceptionError 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> ParseRestrictionViolatedExceptionAbstractStringRestriction. 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)returnsfalseprotected abstract <T> ParseRestrictionViolatedExceptionAbstractStringRestriction. 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)returnsfalseprotected <T> ParseRestrictionViolatedExceptionEndsWithRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionEndsWithRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionLengthRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionLengthRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionNoOptionLikeValuesRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionNoOptionLikeValuesRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionNotBlankRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionNotBlankRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionNotEmptyRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionNotEmptyRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionStartsWithRestriction. violated(ParseState<T> state, ArgumentsMetadata arguments, java.lang.String value)protected <T> ParseRestrictionViolatedExceptionStartsWithRestriction. violated(ParseState<T> state, OptionMetadata option, java.lang.String value)
-