Class CsvMultilineLimitBrokenException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.opencsv.exceptions.CsvMultilineLimitBrokenException
All Implemented Interfaces:
Serializable

public class CsvMultilineLimitBrokenException extends IOException
Exception when you break the line limit of a multiline field.
Author:
Edgar Silva
See Also:
  • Constructor Details

    • CsvMultilineLimitBrokenException

      public CsvMultilineLimitBrokenException()
      Nullary constructor. Does nothing.
    • CsvMultilineLimitBrokenException

      public CsvMultilineLimitBrokenException(String message, long row, String context, int multilineLimit)
      Constructor with a message.
      Parameters:
      message - A human-readable error message
      row - Row number where error occurred
      context - Line (or part of the line) that caused the error
      multilineLimit - Multiline limit that was set
  • Method Details

    • getMultilineLimit

      public int getMultilineLimit()
      Returns:
      The multiline limit set during construction of the exception
    • getRow

      public long getRow()
      Returns:
      The row number set during construction of the exception
    • getContext

      public String getContext()
      Returns:
      Context set during construction of the exception