Closed
Description
In Jackson 2.x there is CsvMappingException
which extends JsonMappingException
. This seems slightly sub-optimal as failures reported are streaming-level issues (mostly read but some write issues), and as such, exceptions used should instead extend:
StreamReadException
(added in 2.10 to eventually replaceJsonParseException
)StreamWriteException
(added in 2.13 to eventually replaceJsonGenerationException
)
This can be done in two phases:
- For Jackson 2.13, create 2 new exceptions, make them extend existing
CsvMappingException
(without rebasing, to keep compatibility) - For Jackson 3.0, remove
CsvMappingException
and make 2 new exceptions extend streaming-level counterparts.
Metadata
Metadata
Assignees
Labels
No labels