Package com.univocity.parsers.common
Class NoopProcessorErrorHandler<T extends Context>
java.lang.Object
com.univocity.parsers.common.NoopProcessorErrorHandler<T>
- Type Parameters:
T
- theContext
type provided by the parser implementation.
- All Implemented Interfaces:
ProcessorErrorHandler<T>
public final class NoopProcessorErrorHandler<T extends Context>
extends Object
implements ProcessorErrorHandler<T>
An (singleton) implementation of
ProcessorErrorHandler
that simply rethrows any DataProcessingException
that comes into its handleError(DataProcessingException, Object[], Context)
} method- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(DataProcessingException error, Object[] inputRow, T context) Rethrows theDataProcessingException
-
Field Details
-
instance
-
-
Constructor Details
-
NoopProcessorErrorHandler
private NoopProcessorErrorHandler()
-
-
Method Details
-
handleError
Rethrows theDataProcessingException
- Specified by:
handleError
in interfaceProcessorErrorHandler<T extends Context>
- Parameters:
error
- the exception thrown during the processing an input record. Will be rethrown to abort the parsing process.inputRow
- ignoredcontext
- ignored
-