public class CsvException extends Exception
Constructor and Description |
---|
CsvException()
Default constructor, in case no parameters are required.
|
CsvException(String message)
Constructor that allows a human-readable message.
|
Modifier and Type | Method and Description |
---|---|
long |
getLineNumber() |
void |
setLineNumber(long lineNumber) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CsvException()
public CsvException(String message)
message
- The error textpublic long getLineNumber()
public void setLineNumber(long lineNumber)
lineNumber
- The line number that caused the error. This should be the
one-based number of the line that caused the error, not including the
header line, if present.Copyright © 2017. All rights reserved.