Uses of Interface
org.ec4j.core.parser.ErrorHandler
Packages that use ErrorHandler
-
Uses of ErrorHandler in org.ec4j.core
Fields in org.ec4j.core declared as ErrorHandlerMethods in org.ec4j.core with parameters of type ErrorHandlerModifier and TypeMethodDescriptionstatic EditorConfigLoaderEditorConfigLoader.of(Version version, PropertyTypeRegistry registry, ErrorHandler errorHandler) Constructors in org.ec4j.core with parameters of type ErrorHandlerModifierConstructorDescriptionEditorConfigLoader(EditorConfigModelHandler handler, ErrorHandler errorHandler) -
Uses of ErrorHandler in org.ec4j.core.parser
Fields in org.ec4j.core.parser declared as ErrorHandlerModifier and TypeFieldDescriptionprivate ErrorHandlerEditorConfigParser.errorHandlerstatic final ErrorHandlerErrorHandler.IGNORINGAnErrorHandlerthat does nothing inerror(ParseContext, ErrorEvent)static final ErrorHandlerErrorHandler.THROW_SYNTAX_ERRORS_IGNORE_OTHERSAnErrorHandlerthat throws aParseExceptiononly for thoseParseExceptions whoseerrorEvent.getErrorType().isSyntaxError()returnstruestatic final ErrorHandlerErrorHandler.THROWINGAnErrorHandlerthat throws aParseExceptionfor everyErrorEventit gets viaerror(ParseContext, ErrorEvent)Methods in org.ec4j.core.parser that return ErrorHandlerModifier and TypeMethodDescriptionEditorConfigParser.getErrorHandler()ParseContext.getErrorHandler()Methods in org.ec4j.core.parser with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoidEditorConfigParser.parse(Resource resource, EditorConfigHandler handler, ErrorHandler errorHandler) Reads the entire input from theresourceand transforms it into a sequence of parse events which are sent to the givenEditorConfigHandler.Constructors in org.ec4j.core.parser with parameters of type ErrorHandlerModifierConstructorDescriptionLocationAwareModelHandler(PropertyTypeRegistry registry, Version version, ErrorHandler errorHandler)