Module com.github.rvesse.airline
Interface ParserErrorHandler
-
- All Known Implementing Classes:
AbstractCollectingHandler,CollectAll,FailAll,FailFast
public interface ParserErrorHandlerInterface for parser error handlers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ParseResult<T>finished(ParseState<T> state)Prepares the parser resultvoidhandleError(ParseException e)Handlers an error
-
-
-
Method Detail
-
handleError
void handleError(ParseException e)
Handlers an error- Parameters:
e- Error
-
finished
<T> ParseResult<T> finished(ParseState<T> state)
Prepares the parser result- Parameters:
state- Parser state- Returns:
- Parser result
-
-