CsvParseException.java

package de.siegmar.fastcsv.reader;

import java.io.Serial;

/// Exception to be thrown when malformed csv data is read.
public class CsvParseException extends RuntimeException {

    @Serial
    private static final long serialVersionUID = 1L;

    /// Construct exception with a message.
    ///
    /// @param message the cause for this exception
    public CsvParseException(final String message) {
        super(message);
    }

    /// Construct exception with message and cause.
    ///
    /// @param message the cause for this exception
    /// @param cause the cause for this exception
    public CsvParseException(final String message, final Throwable cause) {
        super(message, cause);
    }

}