Class CsvMultilineLimitBrokenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CsvMultilineLimitBrokenException
    extends java.io.IOException
    Exception when you break the line limit of a multiline field.
    Author:
    Edgar Silva
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContext()  
      int getMultilineLimit()  
      long getRow()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CsvMultilineLimitBrokenException

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

        public CsvMultilineLimitBrokenException​(java.lang.String message,
                                                long row,
                                                java.lang.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 Detail

      • 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 java.lang.String getContext()
        Returns:
        Context set during construction of the exception