Module com.github.rvesse.airline
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
public class FailAll extends AbstractCollectingHandler
An error handler which collects all errors during parsing and then fails at the end of parsing
-
-
Field Summary
-
Fields inherited from class com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
errors
-
-
Constructor Summary
Constructors Constructor Description FailAll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ParseResult<T>
finished(ParseState<T> state)
Prepares the parser result-
Methods inherited from class com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
getCollection, handleError, resetCollection
-
-
-
-
Method Detail
-
finished
public <T> ParseResult<T> finished(ParseState<T> state)
Description copied from interface:ParserErrorHandler
Prepares the parser result- Parameters:
state
- Parser state- Returns:
- Parser result
-
-