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.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • row

      private long row
    • context

      private String context
    • multilineLimit

      private int multilineLimit
  • 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