Package org.supercsv.exception
Class SuperCsvException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.supercsv.exception.SuperCsvException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SuperCsvCellProcessorException
,SuperCsvReflectionException
Generic SuperCSV Exception class. It contains the CSV context (line number, column number and raw line) from when the
exception occurred.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSuperCsvException
(String msg) Constructs a new SuperCsvException.SuperCsvException
(String msg, CsvContext context) Constructs a new SuperCsvException.SuperCsvException
(String msg, CsvContext context, Throwable t) Constructs a new SuperCsvException. -
Method Summary
Modifier and TypeMethodDescriptionGets the current CSV context.toString()
Returns the String representation of this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
csvContext
-
-
Constructor Details
-
SuperCsvException
Constructs a new SuperCsvException.- Parameters:
msg
- the exception message
-
SuperCsvException
Constructs a new SuperCsvException.- Parameters:
msg
- the exception messagecontext
- the CSV context
-
SuperCsvException
Constructs a new SuperCsvException.- Parameters:
msg
- the exception messagecontext
- the CSV contextt
- the nested exception
-
-
Method Details