Skip to content

Add DatabindException as intermediate subtype of JsonMappingException #2828

Description

@cowtowncoder

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 of JsonMappingException (similar to StreamReadException (under JsonParseException) and StreamWriteException (under JsonGenerationException)) -- for 2.x it can be used as receiver (but not thrown), and for 3.0 we can start actually using it and possibly remove JsonMappingException.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions