DataValidationException is an error thrown during the processing of a record successfully parsed,
but whose data failed to pass a validation defined by annotation com.univocity.parsers.annotations.Validate
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | DataValidationException(String
the error message message)Creates a new validation exception with an error message only. |
| public | DataValidationException(String
the error message message, Throwable the cause of the error cause)Creates a new validation exception with an error message and error cause |
| public | DataValidationException(String
the error message message, Object[] the row that could not be processed. row)Creates a new validation exception with an error message and the row that could not be validated. |
| public | DataValidationException(String
the error message message, Object[] the row that could not be processed. row, Throwable the cause of the error cause)Creates a new validation exception with an error message, the row that could not be validated, and the error cause. |
| public | DataValidationException(String
the error message message, int index of the column that could not be validated. columnIndex)Creates a new validation exception with an error message and the column that could not be validated. |
| Modifier and Type | Method and Description |
|---|---|
| protected String | getErrorDescription()
Overrides com. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| DataValidationException | back to summary |
|---|---|
| public DataValidationException(String message) Creates a new validation exception with an error message only.
| |
| DataValidationException | back to summary |
|---|---|
| public DataValidationException(String message, Throwable cause) Creates a new validation exception with an error message and error cause | |
| DataValidationException | back to summary |
|---|---|
| public DataValidationException(String message, Object[] row) Creates a new validation exception with an error message and the row that could not be validated. | |
| DataValidationException | back to summary |
|---|---|
| public DataValidationException(String message, Object[] row, Throwable cause) Creates a new validation exception with an error message, the row that could not be validated, and the error cause. | |
| DataValidationException | back to summary |
|---|---|
| public DataValidationException(String message, int columnIndex) Creates a new validation exception with an error message and the column that could not be validated.
| |
| getErrorDescription | back to summary |
|---|---|
| protected String getErrorDescription() Overrides com. Doc from com. Returns a generic description of the error. The result of this method is used by | |