Package com.opencsv.exceptions
Class CsvMultilineLimitBrokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.opencsv.exceptions.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
-
-
Constructor Summary
Constructors Constructor Description CsvMultilineLimitBrokenException()
Nullary constructor.CsvMultilineLimitBrokenException(java.lang.String message, long row, java.lang.String context, int multilineLimit)
Constructor with a message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContext()
int
getMultilineLimit()
long
getRow()
-
-
-
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 messagerow
- Row number where error occurredcontext
- Line (or part of the line) that caused the errormultilineLimit
- 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
-
-