Uses of Class
com.github.rvesse.airline.parser.errors.ParseRestrictionViolatedException
Packages that use ParseRestrictionViolatedException
Package
Description
-
Uses of ParseRestrictionViolatedException in com.github.rvesse.airline.parser.errors
Subclasses of ParseRestrictionViolatedException in com.github.rvesse.airline.parser.errorsModifier and TypeClassDescriptionclassException thrown when the value for an option is not in a specific set of allowed valuesclassException thrown when required arguments are missingclassException that is thrown when a command receives unexpected argumentsclassException that is thrown when no command is specifiedclassException that is thrown when an unrecognized command is suppliedclassA parser exception that relates to a restriction violated where the violation pertains to some group of optionsclassException thrown when the value for an option is not in a specific set of allowed valuesclassException that is thrown when a required option is missingclassException that is thrown when an option expects one/more values and no values are suppliedclassError that indicates that an options value was outside of an acceptable rangeclassError 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 ParseRestrictionViolatedExceptionModifier and TypeMethodDescriptionprotected abstract <T> ParseRestrictionViolatedExceptionAbstractStringRestriction.violated(ParseState<T> state, ArgumentsMetadata arguments, 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, 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, String value) protected <T> ParseRestrictionViolatedExceptionEndsWithRestriction.violated(ParseState<T> state, OptionMetadata option, String value) protected <T> ParseRestrictionViolatedExceptionLengthRestriction.violated(ParseState<T> state, ArgumentsMetadata arguments, String value) protected <T> ParseRestrictionViolatedExceptionLengthRestriction.violated(ParseState<T> state, OptionMetadata option, String value) protected <T> ParseRestrictionViolatedExceptionNoOptionLikeValuesRestriction.violated(ParseState<T> state, ArgumentsMetadata arguments, String value) protected <T> ParseRestrictionViolatedExceptionNoOptionLikeValuesRestriction.violated(ParseState<T> state, OptionMetadata option, String value) protected <T> ParseRestrictionViolatedExceptionNotBlankRestriction.violated(ParseState<T> state, ArgumentsMetadata arguments, String value) protected <T> ParseRestrictionViolatedExceptionNotBlankRestriction.violated(ParseState<T> state, OptionMetadata option, String value) protected <T> ParseRestrictionViolatedExceptionNotEmptyRestriction.violated(ParseState<T> state, ArgumentsMetadata arguments, String value) protected <T> ParseRestrictionViolatedExceptionNotEmptyRestriction.violated(ParseState<T> state, OptionMetadata option, String value) protected <T> ParseRestrictionViolatedExceptionStartsWithRestriction.violated(ParseState<T> state, ArgumentsMetadata arguments, String value) protected <T> ParseRestrictionViolatedExceptionStartsWithRestriction.violated(ParseState<T> state, OptionMetadata option, String value)