T - the Context type provided by the parser implementation.public final class NoopProcessorErrorHandler<T extends Context> extends Object implements ProcessorErrorHandler<T>
ProcessorErrorHandler that simply rethrows any DataProcessingException
that comes into its handleError(DataProcessingException, Object[], Context)} methodProcessorErrorHandler| Modifier and Type | Field and Description |
|---|---|
static ProcessorErrorHandler |
instance |
| Modifier and Type | Method and Description |
|---|---|
void |
handleError(DataProcessingException error,
Object[] inputRow,
T context)
Rethrows the
DataProcessingException |
public static final ProcessorErrorHandler instance
public void handleError(DataProcessingException error, Object[] inputRow, T context)
DataProcessingExceptionhandleError in interface ProcessorErrorHandler<T extends Context>error - the exception thrown during the processing an input record. Will be rethrown to abort the parsing process.inputRow - ignoredcontext - ignoredCopyright © 2019 Univocity Software Pty Ltd. All rights reserved.