Uses of Interface
com.univocity.parsers.common.ProcessorErrorHandler
Packages that use ProcessorErrorHandler
-
Uses of ProcessorErrorHandler in com.univocity.parsers.common
Subinterfaces of ProcessorErrorHandler in com.univocity.parsers.commonModifier and TypeInterfaceDescriptioninterfaceTheRowProcessorErrorHandleris a callback used by the parser/writer to handle non-fatalDataProcessingExceptions that may occur when processing rows using aRowProcessororRowWriterProcessor.Classes in com.univocity.parsers.common that implement ProcessorErrorHandlerModifier and TypeClassDescriptionfinal classNoopProcessorErrorHandler<T extends Context>An (singleton) implementation ofProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itsNoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)} method(package private) final classAn (singleton) implementation ofRowProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itsNoopRowProcessorErrorHandler.handleError(DataProcessingException, Object[], ParsingContext)methodclassRetryableErrorHandler<T extends Context>AProcessorErrorHandlerimplementation that gives the user a chance to provide a default value for columns that could not be processed due to an exception, through the methodRetryableErrorHandler.setDefaultValue(Object).Fields in com.univocity.parsers.common declared as ProcessorErrorHandlerModifier and TypeFieldDescriptionprivate final ProcessorErrorHandlerAbstractParser.errorHandlerprivate ProcessorErrorHandler<? extends Context> CommonSettings.errorHandler(package private) ProcessorErrorHandlerDefaultConversionProcessor.errorHandlerstatic final ProcessorErrorHandlerNoopProcessorErrorHandler.instanceMethods in com.univocity.parsers.common that return ProcessorErrorHandlerModifier and TypeMethodDescription<T extends Context>
ProcessorErrorHandler<T> CommonSettings.getProcessorErrorHandler()Returns the custom error handler to be used to capture and handle errors that might happen while processing records with aProcessoror aRowWriterProcessor(i.e.Methods in com.univocity.parsers.common with parameters of type ProcessorErrorHandlerModifier and TypeMethodDescriptionfinal voidDataProcessingException.markAsHandled(ProcessorErrorHandler handler) Marks the error as handled so it doesn't trigger aProcessorErrorHandleragain.static final <C extends Context>
voidInternal.process(String[] row, Processor<C> processor, C context, ProcessorErrorHandler<C> errorHandler) voidCommonSettings.setProcessorErrorHandler(ProcessorErrorHandler<? extends Context> processorErrorHandler) Defines a custom error handler to capture and handle errors that might happen while processing records with aProcessoror aRowWriterProcessor(i.e.