View Javadoc
1   package com.opencsv.exceptions;
2   
3   /**
4    * Exception thrown by a {@link com.opencsv.validators.LineValidator} or
5    * {@link com.opencsv.validators.LineValidatorAggregator} when a single line is invalid.
6    *
7    * @author Scott Conway
8    * @since 5.0
9    */
10  public class CsvValidationException extends CsvFieldAssignmentException {
11      private static final long serialVersionUID = 1L;
12  
13      /**
14       * Default constructor.
15       */
16      public CsvValidationException() {
17          super();
18      }
19  
20      /**
21       * Constructor that allows for a human readable message.
22       *
23       * @param message Error text.
24       */
25      public CsvValidationException(String message) {
26          super(message);
27      }
28  }