-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DatabindException
as intermediate subtype of JsonMappingException
#2828
Milestone
Comments
cowtowncoder
added
2.13
and removed
3.x
Issues to be only tackled for Jackson 3.x, not 2.x
labels
Jan 21, 2021
cowtowncoder
changed the title
Rename
Add Jan 21, 2021
JsonMappingException
as DatabindException
(for 3.0)DatabindException
as intermediate subtype of JsonMappingException
cowtowncoder
added a commit
that referenced
this issue
Jan 21, 2021
Bit trickier than I thought as the location information (including helper class) cannot move... but will make it work to some degree. |
cowtowncoder
added a commit
that referenced
this issue
Jan 22, 2021
cowtowncoder
added a commit
that referenced
this issue
Jan 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: