Class FailAll
java.lang.Object
com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
com.github.rvesse.airline.parser.errors.handlers.FailAll
- All Implemented Interfaces:
ParserErrorHandler
An error handler which collects all errors during parsing and then fails at
the end of parsing
-
Field Summary
Fields inherited from class AbstractCollectingHandler
errors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ParseResult<T> finished(ParseState<T> state) Prepares the parser resultMethods inherited from class AbstractCollectingHandler
getCollection, handleError, resetCollection
-
Constructor Details
-
FailAll
public FailAll()
-
-
Method Details
-
finished
Description copied from interface:ParserErrorHandlerPrepares the parser result- Parameters:
state- Parser state- Returns:
- Parser result
-