Module com.github.rvesse.airline
Class AbstractCollectingHandler
java.lang.Object
com.github.rvesse.airline.parser.errors.handlers.AbstractCollectingHandler
- All Implemented Interfaces:
ParserErrorHandler
- Direct Known Subclasses:
CollectAll
,FailAll
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<ParseException> void
Handlers an errorprotected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.rvesse.airline.parser.errors.handlers.ParserErrorHandler
finished
-
Field Details
-
errors
-
-
Constructor Details
-
AbstractCollectingHandler
public AbstractCollectingHandler()
-
-
Method Details
-
handleError
Description copied from interface:ParserErrorHandler
Handlers an error- Specified by:
handleError
in interfaceParserErrorHandler
- Parameters:
e
- Error
-
getCollection
-
resetCollection
protected void resetCollection()
-