public class SuperCsvCellProcessorException extends SuperCsvException
SuperCsvConstraintViolationException
for constraint validation failures.Constructor and Description |
---|
SuperCsvCellProcessorException(java.lang.Class<?> expectedType,
java.lang.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(java.lang.String msg,
CsvContext context,
CellProcessor processor)
Constructs a new SuperCsvCellProcessorException.
|
SuperCsvCellProcessorException(java.lang.String msg,
CsvContext context,
CellProcessor processor,
java.lang.Throwable t)
Constructs a new SuperCsvCellProcessorException.
|
Modifier and Type | Method and Description |
---|---|
CellProcessor |
getProcessor()
Gets the processor that was executing.
|
java.lang.String |
toString()
Returns the String representation of this exception.
|
getCsvContext
public SuperCsvCellProcessorException(java.lang.String msg, CsvContext context, CellProcessor processor)
msg
- the exception messagecontext
- the CSV contextprocessor
- the cell processor that was executingpublic SuperCsvCellProcessorException(java.lang.String msg, CsvContext context, CellProcessor processor, java.lang.Throwable t)
msg
- the exception messagecontext
- the CSV contextprocessor
- the cell processor that was executingt
- the nested exceptionpublic SuperCsvCellProcessorException(java.lang.Class<?> expectedType, java.lang.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 java.lang.String toString()
toString
in class SuperCsvException
Copyright © 2007-2014 Super CSV. All Rights Reserved.