Package com.univocity.parsers.common
Class NoopProcessorErrorHandler<T extends Context>
- java.lang.Object
-
- com.univocity.parsers.common.NoopProcessorErrorHandler<T>
-
- Type Parameters:
T- theContexttype provided by the parser implementation.
- All Implemented Interfaces:
ProcessorErrorHandler<T>
public final class NoopProcessorErrorHandler<T extends Context> extends java.lang.Object implements ProcessorErrorHandler<T>
An (singleton) implementation ofProcessorErrorHandlerthat simply rethrows anyDataProcessingExceptionthat comes into itshandleError(DataProcessingException, Object[], Context)} method- Author:
- Univocity Software Pty Ltd - parsers@univocity.com
- See Also:
ProcessorErrorHandler
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessorErrorHandlerinstance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(DataProcessingException error, java.lang.Object[] inputRow, T context)Rethrows theDataProcessingException
-
-
-
Field Detail
-
instance
public static final ProcessorErrorHandler instance
-
-
Method Detail
-
handleError
public void handleError(DataProcessingException error, java.lang.Object[] inputRow, T context)
Rethrows theDataProcessingException- Specified by:
handleErrorin 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
-
-