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:
Serializable
Exception when you break the line limit of a multiline field.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private int
private long
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionNullary constructor.CsvMultilineLimitBrokenException
(String message, long row, String context, int multilineLimit) Constructor with a message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
row
private long row -
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 messagerow
- Row number where error occurredcontext
- Line (or part of the line) that caused the errormultilineLimit
- 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
- Returns:
- Context set during construction of the exception
-