Package com.opencsv.exceptions
Class CsvValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.opencsv.exceptions.CsvException
com.opencsv.exceptions.CsvFieldAssignmentException
com.opencsv.exceptions.CsvValidationException
- All Implemented Interfaces:
Serializable
Exception thrown by a
LineValidator
or
LineValidatorAggregator
when a single line is invalid.- Since:
- 5.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CsvValidationException
(String message) Constructor that allows for a human readable message. -
Method Summary
Methods inherited from class com.opencsv.exceptions.CsvException
getLine, getLineNumber, setLine, setLineNumber
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
CsvValidationException
public CsvValidationException()Default constructor. -
CsvValidationException
Constructor that allows for a human readable message.- Parameters:
message
- Error text.
-