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
-
-
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()
-
-
-
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
-
-