Uses of Interface
com.opencsv.bean.exceptionhandler.CsvExceptionHandler
Packages that use CsvExceptionHandler
Package
Description
A bean binding interface for use with opencsv.
This package collects all classes necessary for the parallel processing of
beans.
This package contains the interface and standard implementations for
exception handling logic during bean creation and bean writing.
This is a package of utility classes for internal use.
-
Uses of CsvExceptionHandler in com.opencsv.bean
Fields in com.opencsv.bean declared as CsvExceptionHandlerModifier and TypeFieldDescriptionprivate CsvExceptionHandler
CsvToBean.exceptionHandler
Determines how exceptions thrown during processing will be handled.private CsvExceptionHandler
CsvToBeanBuilder.exceptionHandler
private final CsvExceptionHandler
StatefulBeanToCsv.exceptionHandler
private CsvExceptionHandler
StatefulBeanToCsvBuilder.exceptionHandler
Methods in com.opencsv.bean that return CsvExceptionHandlerModifier and TypeMethodDescription(package private) CsvExceptionHandler
CsvToBean.getExceptionHandler()
Package scope method currently used by the CsvToBeanBuilderTestMethods in com.opencsv.bean with parameters of type CsvExceptionHandlerModifier and TypeMethodDescriptionvoid
CsvToBean.setExceptionHandler
(CsvExceptionHandler handler) Sets the handler for recoverable exceptions raised during processing of records.CsvToBeanBuilder.withExceptionHandler
(CsvExceptionHandler exceptionHandler) Sets the handler for recoverable exceptions raised during processing of records.StatefulBeanToCsvBuilder.withExceptionHandler
(CsvExceptionHandler exceptionHandler) Sets the handler for recoverable exceptions raised during processing of records.Constructors in com.opencsv.bean with parameters of type CsvExceptionHandlerModifierConstructorDescription(package private)
StatefulBeanToCsv
(char escapechar, String lineEnd, MappingStrategy<T> mappingStrategy, char quotechar, char separator, CsvExceptionHandler exceptionHandler, Writer writer, boolean applyQuotesToAll, org.apache.commons.collections4.MultiValuedMap<Class<?>, Field> ignoredFields, String profile) Constructor used when supplying a Writer instead of a CsvWriter class.StatefulBeanToCsv
(MappingStrategy<T> mappingStrategy, CsvExceptionHandler exceptionHandler, boolean applyQuotesToAll, ICSVWriter csvWriter, org.apache.commons.collections4.MultiValuedMap<Class<?>, Field> ignoredFields, String profile) Constructor used to allow building of aStatefulBeanToCsv
with a user-suppliedICSVWriter
class. -
Uses of CsvExceptionHandler in com.opencsv.bean.concurrent
Fields in com.opencsv.bean.concurrent declared as CsvExceptionHandlerModifier and TypeFieldDescriptionprivate final CsvExceptionHandler
CompleteFileReader.exceptionHandler
Whether exceptions in processing should be thrown or collected.private final CsvExceptionHandler
ProcessCsvBean.exceptionHandler
private final CsvExceptionHandler
ProcessCsvLine.exceptionHandler
Methods in com.opencsv.bean.concurrent with parameters of type CsvExceptionHandlerModifier and TypeMethodDescriptionvoid
BeanExecutor.submitBean
(long lineNumber, MappingStrategy<T> mappingStrategy, T bean, CsvExceptionHandler exceptionHandler) Submit one bean for conversion.void
LineExecutor.submitLine
(long lineNumber, MappingStrategy<? extends T> mapper, CsvToBeanFilter filter, List<BeanVerifier<T>> verifiers, String[] line, CsvExceptionHandler exceptionHandler) Submit one record for conversion to a bean.Constructors in com.opencsv.bean.concurrent with parameters of type CsvExceptionHandlerModifierConstructorDescriptionCompleteFileReader
(CSVReader csvReader, CsvToBeanFilter filter, boolean ignoreEmptyLines, MappingStrategy<? extends T> mappingStrategy, CsvExceptionHandler exceptionHandler, List<BeanVerifier<T>> verifiers) ProcessCsvBean
(long lineNumber, MappingStrategy<T> mappingStrategy, T bean, BlockingQueue<OrderedObject<String[]>> resultantLineQueue, BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue, SortedSet<Long> expectedRecords, CsvExceptionHandler exceptionHandler) The only constructor for creating a line of CSV output out of a bean.ProcessCsvLine
(long lineNumber, MappingStrategy<? extends T> mapper, CsvToBeanFilter filter, List<BeanVerifier<T>> verifiers, String[] line, BlockingQueue<OrderedObject<T>> resultantBeanQueue, BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue, SortedSet<Long> expectedRecords, CsvExceptionHandler exceptionHandler) The only constructor for creating a bean out of a line of input. -
Uses of CsvExceptionHandler in com.opencsv.bean.exceptionhandler
Classes in com.opencsv.bean.exceptionhandler that implement CsvExceptionHandlerModifier and TypeClassDescriptionfinal class
An exception handler that always ignores exceptions raised.final class
An exception handler that ignores the first x exceptions, then throws any further exceptions.final class
An exception handler that always queues exceptions raised.final class
An exception handler that queues the first x exceptions, then throws any further exceptions.final class
An exception handler that always throws exceptions raised. -
Uses of CsvExceptionHandler in com.opencsv.bean.util
Methods in com.opencsv.bean.util with parameters of type CsvExceptionHandlerModifier and TypeMethodDescriptionstatic void
OpencsvUtils.handleException
(CsvException e, long lineNumber, CsvExceptionHandler exceptionHandler, BlockingQueue<OrderedObject<CsvException>> queue) A function to consolidate code common to handling exceptions thrown during reading or writing of CSV files.