Package | Description |
---|---|
com.github.rvesse.airline.parser | |
com.github.rvesse.airline.parser.errors | |
com.github.rvesse.airline.parser.errors.handlers |
Modifier and Type | Method and Description |
---|---|
Collection<ParseException> |
ParseResult.getErrors()
Gets the collection of errors that occurred, may be empty if parsing was
successful
|
Constructor and Description |
---|
ParseResult(ParseState<T> state,
Collection<ParseException> errors) |
Modifier and Type | Class and Description |
---|---|
class |
ParseAliasCircularReferenceException
Exception that occurs when alias chaining is enabled and a circular reference
is encountered
|
class |
ParseArgumentsIllegalValueException
Exception thrown when the value for an option is not in a specific set of
allowed values
|
class |
ParseArgumentsMissingException
Exception thrown when required arguments are missing
|
class |
ParseArgumentsUnexpectedException
Exception that is thrown when a command receives unexpected arguments
|
class |
ParseCommandMissingException
Exception that is thrown when no command is specified
|
class |
ParseCommandUnrecognizedException
Exception that is thrown when an unrecognized command is supplied
|
class |
ParseInvalidRestrictionException
Parser exception that indicates that a declared restriction was invalid
|
class |
ParseOptionConversionException
Exception that is thrown when the argument supplied as the value for an
option cannot be converted to the options Java type
|
class |
ParseOptionGroupException
A parser exception that relates to a restriction violated where the violation
pertains to some group of options
|
class |
ParseOptionIllegalValueException
Exception thrown when the value for an option is not in a specific set of
allowed values
|
class |
ParseOptionMissingException
Exception that is thrown when a required option is missing
|
class |
ParseOptionMissingValueException
Exception that is thrown when an option expects one/more values and no values
are supplied
|
class |
ParseOptionOutOfRangeException
Error that indicates that an options value was outside of an acceptable range
|
class |
ParseOptionUnexpectedException
Exception thrown if an option is encountered in an unexpected location e.g.
|
class |
ParseRestrictionViolatedException
Exception class that indicates that some restriction was violated
|
class |
ParseTooManyArgumentsException
Error that is thrown if too many arguments are provided
|
Modifier and Type | Field and Description |
---|---|
protected List<ParseException> |
AbstractCollectingHandler.errors |
Modifier and Type | Method and Description |
---|---|
protected List<ParseException> |
AbstractCollectingHandler.getCollection() |
Modifier and Type | Method and Description |
---|---|
void |
ParserErrorHandler.handleError(ParseException e)
Handlers an error
|
void |
FailFast.handleError(ParseException e) |
void |
AbstractCollectingHandler.handleError(ParseException e) |
Copyright © 2012–2017. All rights reserved.