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 TypeInterfaceDescriptioninterface
TheRowProcessorErrorHandler
is a callback used by the parser/writer to handle non-fatalDataProcessingException
s that may occur when processing rows using aRowProcessor
orRowWriterProcessor
.Classes in com.univocity.parsers.common that implement ProcessorErrorHandlerModifier and TypeClassDescriptionfinal class
NoopProcessorErrorHandler<T extends Context>
An (singleton) implementation ofProcessorErrorHandler
that simply rethrows anyDataProcessingException
that comes into itsNoopProcessorErrorHandler.handleError(DataProcessingException, Object[], Context)
} method(package private) final class
An (singleton) implementation ofRowProcessorErrorHandler
that simply rethrows anyDataProcessingException
that comes into itsNoopRowProcessorErrorHandler.handleError(DataProcessingException, Object[], ParsingContext)
methodclass
RetryableErrorHandler<T extends Context>
AProcessorErrorHandler
implementation 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 ProcessorErrorHandler
AbstractParser.errorHandler
private ProcessorErrorHandler<? extends Context>
CommonSettings.errorHandler
(package private) ProcessorErrorHandler
DefaultConversionProcessor.errorHandler
static final ProcessorErrorHandler
NoopProcessorErrorHandler.instance
Methods 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 aProcessor
or aRowWriterProcessor
(i.e.Methods in com.univocity.parsers.common with parameters of type ProcessorErrorHandlerModifier and TypeMethodDescriptionfinal void
DataProcessingException.markAsHandled
(ProcessorErrorHandler handler) Marks the error as handled so it doesn't trigger aProcessorErrorHandler
again.static final <C extends Context>
voidInternal.process
(String[] row, Processor<C> processor, C context, ProcessorErrorHandler<C> errorHandler) void
CommonSettings.setProcessorErrorHandler
(ProcessorErrorHandler<? extends Context> processorErrorHandler) Defines a custom error handler to capture and handle errors that might happen while processing records with aProcessor
or aRowWriterProcessor
(i.e.