T - the Context type provided by the parser implementation.ProcessorErrorHandler<T>public final class NoopProcessorErrorHandler<T extends Context> extends java.lang.Object implements ProcessorErrorHandler<T>
ProcessorErrorHandler that simply rethrows any DataProcessingException
that comes into its handleError(DataProcessingException, Object[], Context)} methodProcessorErrorHandler| Modifier and Type | Field | Description |
|---|---|---|
static ProcessorErrorHandler |
instance |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleError(DataProcessingException error,
java.lang.Object[] inputRow,
T context) |
Rethrows the
DataProcessingException |
public static final ProcessorErrorHandler instance
public void handleError(DataProcessingException error, java.lang.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 - ignored