public class SuperCsvCellProcessorException extends SuperCsvException
SuperCsvConstraintViolationException for constraint validation failures.| Constructor and Description |
|---|
SuperCsvCellProcessorException(Class<?> expectedType,
Object actualValue,
CsvContext context,
CellProcessor processor)
Constructs a new SuperCsvCellProcessorException to indicate that the value received by a CellProcessor
wasn't of the correct type.
|
SuperCsvCellProcessorException(String msg,
CsvContext context,
CellProcessor processor)
Constructs a new SuperCsvCellProcessorException.
|
SuperCsvCellProcessorException(String msg,
CsvContext context,
CellProcessor processor,
Throwable t)
Constructs a new SuperCsvCellProcessorException.
|
| Modifier and Type | Method and Description |
|---|---|
CellProcessor |
getProcessor()
Gets the processor that was executing.
|
String |
toString()
Returns the String representation of this exception.
|
getCsvContextaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic SuperCsvCellProcessorException(String msg, CsvContext context, CellProcessor processor)
msg - the exception messagecontext - the CSV contextprocessor - the cell processor that was executingpublic SuperCsvCellProcessorException(String msg, CsvContext context, CellProcessor processor, Throwable t)
msg - the exception messagecontext - the CSV contextprocessor - the cell processor that was executingt - the nested exceptionpublic SuperCsvCellProcessorException(Class<?> expectedType, Object actualValue, CsvContext context, CellProcessor processor)
expectedType - the expected typeactualValue - the value received by the CellProcessorcontext - the CSV contextprocessor - the cell processor that was executingpublic CellProcessor getProcessor()
public String toString()
toString in class SuperCsvExceptionCopyright © 2007-2015 Super CSV. All Rights Reserved.