Uses of Interface
com.univocity.parsers.common.ProcessorErrorHandler
-
Packages that use ProcessorErrorHandler Package Description com.univocity.parsers.common -
-
Uses of ProcessorErrorHandler in com.univocity.parsers.common
Subinterfaces of ProcessorErrorHandler in com.univocity.parsers.common Modifier and Type Interface Description interfaceRowProcessorErrorHandlerTheRowProcessorErrorHandleris 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 ProcessorErrorHandler Modifier and Type Class Description classNoopProcessorErrorHandler<T extends Context>An (singleton) implementation ofProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itsNoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)} method(package private) classNoopRowProcessorErrorHandlerAn (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 ProcessorErrorHandler Modifier and Type Field Description private ProcessorErrorHandlerAbstractParser. errorHandlerprivate ProcessorErrorHandler<? extends Context>CommonSettings. errorHandler(package private) ProcessorErrorHandlerDefaultConversionProcessor. errorHandlerstatic ProcessorErrorHandlerNoopProcessorErrorHandler. instanceMethods in com.univocity.parsers.common that return ProcessorErrorHandler Modifier and Type Method Description <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 ProcessorErrorHandler Modifier and Type Method Description voidDataProcessingException. markAsHandled(ProcessorErrorHandler handler)Marks the error as handled so it doesn't trigger aProcessorErrorHandleragain.static <C extends Context>
voidInternal. process(java.lang.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.
-