Package | Description |
---|---|
com.opencsv.bean |
A bean binding interface for use with opencsv.
|
com.opencsv.exceptions |
This package contains all of the exceptions specific to opencsv.
|
Modifier and Type | Method and Description |
---|---|
List<CsvException> |
StatefulBeanToCsv.getCapturedExceptions()
Any exceptions captured during writing of beans to a CSV destination can
be retrieved through this method.
|
List<CsvException> |
CsvToBean.getCapturedExceptions()
Returns the list of all exceptions that would have been thrown during the
import, but were suppressed by setting
CsvToBean.throwExceptions to false . |
Modifier and Type | Class and Description |
---|---|
class |
CsvConstraintViolationException
This exception is thrown when logical connections between data fields would
be violated by the imported data.
|
class |
CsvDataTypeMismatchException
This exception should be thrown when the provided string value for conversion
cannot be converted to the required type of the destination field.
|
class |
CsvRequiredFieldEmptyException
This exception should be thrown when a field marked as required is empty in
the CSV file.
|
Copyright © 2017. All rights reserved.