Add DatabindException
as intermediate subtype of JsonMappingException
#2828
Milestone
DatabindException
as intermediate subtype of JsonMappingException
#2828
There is too much historical naming convention using "json" in names; and this is particularly unfortunate at databinding level where multiple other formats are supported.
With 3.x we can start improving on at least some of these cases.
One initial thing to do for 2.13 would be to add new
DatabindException
as base type ofJsonMappingException
(similar toStreamReadException
(underJsonParseException
) andStreamWriteException
(underJsonGenerationException
)) -- for 2.x it can be used as receiver (but not thrown), and for 3.0 we can start actually using it and possibly removeJsonMappingException
.The text was updated successfully, but these errors were encountered: