Uses of Class
com.opencsv.exceptions.CsvException
-
Packages that use CsvException Package Description com.opencsv A very simple CSV parser for Java released under a commercial-friendly license.com.opencsv.bean A bean binding interface for use with opencsv.com.opencsv.bean.concurrent This package collects all classes necessary for the parallel processing of beans.com.opencsv.bean.exceptionhandler This package contains the interface and standard implementations for exception handling logic during bean creation and bean writing.com.opencsv.bean.util This is a package of utility classes for internal use.com.opencsv.exceptions This package contains all of the exceptions specific to opencsv. -
-
Uses of CsvException in com.opencsv
Methods in com.opencsv that throw CsvException Modifier and Type Method Description java.util.List<java.lang.String[]>CSVReader. readAll()Reads the entire file into a List with each element being a String[] of tokens. -
Uses of CsvException in com.opencsv.bean
Fields in com.opencsv.bean with type parameters of type CsvException Modifier and Type Field Description private java.util.List<CsvException>CsvToBean. capturedExceptionsA list of all exceptions during parsing and mapping of the input.private java.util.List<CsvException>StatefulBeanToCsv. capturedExceptionsprivate java.util.concurrent.BlockingQueue<OrderedObject<CsvException>>CsvToBean.CsvToBeanIterator. thrownExceptionsQueueMethods in com.opencsv.bean that return types with arguments of type CsvException Modifier and Type Method Description java.util.List<CsvException>CsvToBean. getCapturedExceptions()Returns the list of all exceptions that would have been thrown during the import, but were queued by the exception handler.java.util.List<CsvException>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 CsvException Modifier and Type Field Description private org.apache.commons.collections4.ListValuedMap<java.lang.Long,CsvException>AccumulateCsvResults. thrownExceptionsMapAll access to this variable must be synchronized.private org.apache.commons.collections4.ListValuedMap<java.lang.Long,CsvException>IntolerantThreadPoolExecutor. thrownExceptionsMapA multi-valued map for any exceptions captured.private java.util.concurrent.BlockingQueue<OrderedObject<CsvException>>AccumulateCsvResults. thrownExceptionsQueueprotected java.util.concurrent.BlockingQueue<OrderedObject<CsvException>>IntolerantThreadPoolExecutor. thrownExceptionsQueueA queue of exceptions thrown by threads during processing.private java.util.concurrent.BlockingQueue<OrderedObject<CsvException>>ProcessCsvBean. thrownExceptionsQueueprivate java.util.concurrent.BlockingQueue<OrderedObject<CsvException>>ProcessCsvLine. thrownExceptionsQueueMethods in com.opencsv.bean.concurrent that return types with arguments of type CsvException Modifier and Type Method Description java.util.List<CsvException>IntolerantThreadPoolExecutor. 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 CsvException Constructor Description AccumulateCsvResults(java.util.concurrent.BlockingQueue<OrderedObject<T>> resultantBeansQueue, java.util.concurrent.BlockingQueue<OrderedObject<CsvException>> thrownExceptionsQueue, java.util.SortedSet<java.lang.Long> expectedRecords, java.util.concurrent.ConcurrentMap<java.lang.Long,T> resultantBeanMap, org.apache.commons.collections4.ListValuedMap<java.lang.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 CsvException Modifier and Type Method Description CsvExceptionCsvExceptionHandler. handleException(CsvException e)Determines how opencsv will handle exceptions that crop up during bean creation or writing.CsvExceptionExceptionHandlerIgnore. handleException(CsvException e)CsvExceptionExceptionHandlerIgnoreThenThrowAfter. handleException(CsvException e)CsvExceptionExceptionHandlerQueue. handleException(CsvException e)CsvExceptionExceptionHandlerQueueThenThrowAfter. handleException(CsvException e)CsvExceptionExceptionHandlerThrow. handleException(CsvException e)Methods in com.opencsv.bean.exceptionhandler with parameters of type CsvException Modifier and Type Method Description CsvExceptionCsvExceptionHandler. handleException(CsvException e)Determines how opencsv will handle exceptions that crop up during bean creation or writing.CsvExceptionExceptionHandlerIgnore. handleException(CsvException e)CsvExceptionExceptionHandlerIgnoreThenThrowAfter. handleException(CsvException e)CsvExceptionExceptionHandlerQueue. handleException(CsvException e)CsvExceptionExceptionHandlerQueueThenThrowAfter. handleException(CsvException e)CsvExceptionExceptionHandlerThrow. handleException(CsvException e)Methods in com.opencsv.bean.exceptionhandler that throw CsvException Modifier and Type Method Description CsvExceptionCsvExceptionHandler. handleException(CsvException e)Determines how opencsv will handle exceptions that crop up during bean creation or writing.CsvExceptionExceptionHandlerIgnoreThenThrowAfter. handleException(CsvException e)CsvExceptionExceptionHandlerQueueThenThrowAfter. handleException(CsvException e)CsvExceptionExceptionHandlerThrow. handleException(CsvException e) -
Uses of CsvException in com.opencsv.bean.util
Methods in com.opencsv.bean.util with parameters of type CsvException Modifier and Type Method Description static voidOpencsvUtils. handleException(CsvException e, long lineNumber, CsvExceptionHandler exceptionHandler, java.util.concurrent.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 CsvException Modifier and Type Method Description static voidOpencsvUtils. handleException(CsvException e, long lineNumber, CsvExceptionHandler exceptionHandler, java.util.concurrent.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.exceptions Modifier and Type Class Description classCsvChainedExceptionAn exception class for collecting multiple exceptions.classCsvConstraintViolationExceptionThis exception is thrown when logical connections between data fields would be violated by the imported data.classCsvDataTypeMismatchExceptionThis exception should be thrown when the provided string value for conversion cannot be converted to the required type of the destination field.classCsvFieldAssignmentExceptionSuperclass for checked exceptions that can be thrown while trying to decode and assign a single field.classCsvRequiredFieldEmptyExceptionThis exception should be thrown when a field marked as required is empty in the CSV file.classCsvValidationExceptionException thrown by aLineValidatororLineValidatorAggregatorwhen a single line is invalid.
-