Serializable
SuperCsvConstraintViolationException
public class SuperCsvCellProcessorException extends SuperCsvException
SuperCsvConstraintViolationException
for constraint validation failures.Constructor | 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 | Description |
---|---|---|
CellProcessor |
getProcessor() |
Gets the processor that was executing.
|
String |
toString() |
Returns the String representation of this exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCsvContext
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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 SuperCsvException
Copyright © 2007–2018 Super CSV. All rights reserved.