Class CsvWriteException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.fasterxml.jackson.core.JacksonException
-
- com.fasterxml.jackson.core.JsonProcessingException
-
- com.fasterxml.jackson.databind.DatabindException
-
- com.fasterxml.jackson.databind.JsonMappingException
-
- com.fasterxml.jackson.dataformat.csv.CsvMappingException
-
- com.fasterxml.jackson.dataformat.csv.CsvWriteException
-
- All Implemented Interfaces:
java.io.Serializable
public class CsvWriteException extends CsvMappingException
Format-specific exception used to indicate problems regarding low-level generation issues specific to CSV content; usually problems with field-to-column mapping as defined byCsvSchema
.In Jackson 2.x this type extends
DatabindException
, but for Jackson 3.0 will become streaming-level exception- Since:
- 2.13
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class com.fasterxml.jackson.dataformat.csv.CsvMappingException
_schema
-
-
Constructor Summary
Constructors Constructor Description CsvWriteException(CsvGenerator gen, java.lang.String msg, CsvSchema schema)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CsvWriteException
from(CsvGenerator gen, java.lang.String msg, CsvSchema schema)
-
Methods inherited from class com.fasterxml.jackson.dataformat.csv.CsvMappingException
from, getSchema
-
Methods inherited from class com.fasterxml.jackson.databind.JsonMappingException
_appendPathDesc, _appendReferenceChain, _buildMessage, from, from, from, from, from, from, from, from, fromUnexpectedIOE, getLocalizedMessage, getMessage, getPath, getPathReference, getPathReference, getProcessor, prependPath, prependPath, prependPath, toString, withCause, wrapWithPath, wrapWithPath, wrapWithPath
-
Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getMessageSuffix, getOriginalMessage
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CsvWriteException
public CsvWriteException(CsvGenerator gen, java.lang.String msg, CsvSchema schema)
-
-
Method Detail
-
from
public static CsvWriteException from(CsvGenerator gen, java.lang.String msg, CsvSchema schema)
-
-