Top Description Fields Constructors Methods
com.univocity.parsers.common

public final Class NoopProcessorErrorHandler<T extends Context>

extends Object
implements ProcessorErrorHandler<T extends Context>
Class Inheritance
All Implemented Interfaces
com.univocity.parsers.common.ProcessorErrorHandler
Type Parameters
<T>
the Context type provided by the parser implementation.

An (singleton) implementation of ProcessorErrorHandler that simply rethrows any DataProcessingException that comes into its handleError(DataProcessingException, Object[], Context)} method
Author
Univocity Software Pty Ltd - [email protected]
See Also
ProcessorErrorHandler

Field Summary

Modifier and TypeField and Description
public static final ProcessorErrorHandler<T extends Context>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
handleError(DataProcessingException
the exception thrown during the processing an input record. Will be rethrown to abort the parsing process.
error
,
Object[]
ignored
inputRow
,
T
ignored
context
)

Implements com.univocity.parsers.common.ProcessorErrorHandler.handleError.

Rethrows the DataProcessingException
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
public static final ProcessorErrorHandler<T extends Context> instance

Constructor Detail

NoopProcessorErrorHandlerback to summary
private NoopProcessorErrorHandler()

Method Detail

handleErrorback to summary
public void handleError(DataProcessingException error, Object[] inputRow, T context)

Implements com.univocity.parsers.common.ProcessorErrorHandler.handleError.

Rethrows the DataProcessingException

Parameters
error:DataProcessingException

the exception thrown during the processing an input record. Will be rethrown to abort the parsing process.

inputRow:Object[]

ignored

context:T

ignored

Annotations
@Override