package com.opencsv.exceptions;

Exception thrown by a LineValidator or LineValidatorAggregator when a single line is invalid.
Author:Scott Conway
Since:5.0
/** * Exception thrown by a {@link com.opencsv.validators.LineValidator} or * {@link com.opencsv.validators.LineValidatorAggregator} when a single line is invalid. * * @author Scott Conway * @since 5.0 */
public class CsvValidationException extends CsvFieldAssignmentException { private static final long serialVersionUID = 1L;
Default constructor.
/** * Default constructor. */
public CsvValidationException() { super(); }
Constructor that allows for a human readable message.
Params:
  • message – Error text.
/** * Constructor that allows for a human readable message. * * @param message Error text. */
public CsvValidationException(String message) { super(message); } }