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)
} 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 TypeFieldDescriptionstatic 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.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.