Package com.opencsv.exceptions
Class CsvMalformedLineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.opencsv.exceptions.CsvMalformedLineException
-
- All Implemented Interfaces:
java.io.Serializable
public class CsvMalformedLineException extends java.io.IOExceptionException that is thrown when theCSVReadercannot process a line.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringcontextprivate longlineNumberprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description CsvMalformedLineException()Nullary constructor.CsvMalformedLineException(java.lang.String message, long lineNumber, java.lang.String context)Constructor with a message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContext()longgetLineNumber()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
lineNumber
private long lineNumber
-
context
private java.lang.String context
-
-
Constructor Detail
-
CsvMalformedLineException
public CsvMalformedLineException()
Nullary constructor. Does nothing.
-
CsvMalformedLineException
public CsvMalformedLineException(java.lang.String message, long lineNumber, java.lang.String context)Constructor with a message.- Parameters:
message- A human-readable error messagelineNumber- Line number where error occurredcontext- Line (or part of the line) that caused the error
-
-