Uses of Class
com.opencsv.exceptions.CsvException
Packages that use CsvException
Package
Description
A very simple CSV parser for Java released under a commercial-friendly license.
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.
This package contains all of the exceptions specific to opencsv.
-
Uses of CsvException in com.opencsv
Methods in com.opencsv that throw CsvException -
Uses of CsvException in com.opencsv.bean
Fields in com.opencsv.bean with type parameters of type CsvExceptionModifier and TypeFieldDescriptionprivate final List
<CsvException> CsvToBean.capturedExceptions
A list of all exceptions during parsing and mapping of the input.private List
<CsvException> StatefulBeanToCsv.capturedExceptions
private final BlockingQueue
<OrderedObject<CsvException>> CsvToBean.CsvToBeanIterator.thrownExceptionsQueue
Methods in com.opencsv.bean that return types with arguments of type CsvExceptionModifier and TypeMethodDescriptionCsvToBean.getCapturedExceptions()
Returns the list of all exceptions that would have been thrown during the import, but were queued by the exception handler.StatefulBeanToCsv.getCapturedExceptions()
Any exceptions captured during writing of beans to a CSV destination can be retrieved through this method. -
Uses of CsvException in com.opencsv.bean.concurrent
Fields in com.opencsv.bean.concurrent with type parameters of type CsvExceptionModifier and TypeFieldDescriptionprivate final org.apache.commons.collections4.ListValuedMap
<Long, CsvException> AccumulateCsvResults.thrownExceptionsMap
All access to this variable must be synchronized.private org.apache.commons.collections4.ListValuedMap
<Long, CsvException> IntolerantThreadPoolExecutor.thrownExceptionsMap
A multi-valued map for any exceptions captured.private final BlockingQueue
<OrderedObject<CsvException>> AccumulateCsvResults.thrownExceptionsQueue
protected final BlockingQueue
<OrderedObject<CsvException>> IntolerantThreadPoolExecutor.thrownExceptionsQueue
A queue of exceptions thrown by threads during processing.private final BlockingQueue
<OrderedObject<CsvException>> ProcessCsvBean.thrownExceptionsQueue
private final BlockingQueue
<OrderedObject<CsvException>> ProcessCsvLine.thrownExceptionsQueue
Methods in com.opencsv.bean.concurrent that return types with arguments of type CsvExceptionModifier and TypeMethodDescriptionIntolerantThreadPoolExecutor.getCapturedExceptions()
Returns exceptions captured during the conversion process if the conversion process was set not to propagate these errors up the call stack.Constructor parameters in com.opencsv.bean.concurrent with type arguments of type CsvExceptionModifierConstructorDescription(package private)
AccumulateCsvResults
(BlockingQueue<OrderedObject<T>> resultantBeansQueue, BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue, SortedSet<Long> expectedRecords, ConcurrentMap<Long, T> resultantBeanMap, org.apache.commons.collections4.ListValuedMap<Long, CsvException> thrownExceptionsMap) The only accepted constructor for the accumulator. -
Uses of CsvException in com.opencsv.bean.exceptionhandler
Methods in com.opencsv.bean.exceptionhandler that return CsvExceptionModifier and TypeMethodDescriptionCsvExceptionHandler.handleException
(CsvException e) Determines how opencsv will handle exceptions that crop up during bean creation or writing.ExceptionHandlerIgnore.handleException
(CsvException e) ExceptionHandlerIgnoreThenThrowAfter.handleException
(CsvException e) ExceptionHandlerQueue.handleException
(CsvException e) ExceptionHandlerQueueThenThrowAfter.handleException
(CsvException e) ExceptionHandlerThrow.handleException
(CsvException e) Methods in com.opencsv.bean.exceptionhandler with parameters of type CsvExceptionModifier and TypeMethodDescriptionCsvExceptionHandler.handleException
(CsvException e) Determines how opencsv will handle exceptions that crop up during bean creation or writing.ExceptionHandlerIgnore.handleException
(CsvException e) ExceptionHandlerIgnoreThenThrowAfter.handleException
(CsvException e) ExceptionHandlerQueue.handleException
(CsvException e) ExceptionHandlerQueueThenThrowAfter.handleException
(CsvException e) ExceptionHandlerThrow.handleException
(CsvException e) Methods in com.opencsv.bean.exceptionhandler that throw CsvExceptionModifier and TypeMethodDescriptionCsvExceptionHandler.handleException
(CsvException e) Determines how opencsv will handle exceptions that crop up during bean creation or writing.ExceptionHandlerIgnoreThenThrowAfter.handleException
(CsvException e) ExceptionHandlerQueueThenThrowAfter.handleException
(CsvException e) ExceptionHandlerThrow.handleException
(CsvException e) -
Uses of CsvException in com.opencsv.bean.util
Methods in com.opencsv.bean.util with parameters of type CsvExceptionModifier 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.Method parameters in com.opencsv.bean.util with type arguments of type CsvExceptionModifier 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. -
Uses of CsvException in com.opencsv.exceptions
Subclasses of CsvException in com.opencsv.exceptionsModifier and TypeClassDescriptionclass
An exception class for collecting multiple exceptions.class
This exception is thrown when logical connections between data fields would be violated by the imported data.class
This exception should be thrown when the provided string value for conversion cannot be converted to the required type of the destination field.class
Superclass for checked exceptions that can be thrown while trying to decode and assign a single field.class
This exception should be thrown when a field marked as required is empty in the CSV file.class
Exception thrown by aLineValidator
orLineValidatorAggregator
when a single line is invalid.