com.univocity.parsers.common
Class NoopProcessorErrorHandler<T extends Context>
java.lang.Object
com.univocity.parsers.common.NoopProcessorErrorHandler<T>
- Type Parameters:
T - the Context 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
- Author:
- uniVocity Software Pty Ltd - parsers@univocity.com
- See Also:
ProcessorErrorHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final ProcessorErrorHandler instance
handleError
public void handleError(DataProcessingException error,
Object[] inputRow,
T context)
- Rethrows the
DataProcessingException
- Specified by:
handleError in interface ProcessorErrorHandler<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
Copyright © 2017 uniVocity Software Pty Ltd. All rights reserved.