You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 replace JsonParseException)
StreamWriteException (added in 2.13 to eventually replace JsonGenerationException)
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.
The text was updated successfully, but these errors were encountered:
In Jackson 2.x there is
CsvMappingException
which extendsJsonMappingException
. 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:
CsvMappingException
(without rebasing, to keep compatibility)CsvMappingException
and make 2 new exceptions extend streaming-level counterparts.The text was updated successfully, but these errors were encountered: