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.IOException
Exception that is thrown when theCSVReader
cannot process a line.- See Also:
- Serialized Form
-
-
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.String
getContext()
long
getLineNumber()
-
-
-
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
-
-