Skip to content

Consistent throwing of HttpMessageNotReadableException in HttpMessageConverter implementations [SPR-16995] #21533

Closed

Description

@spring-projects-issues

Juergen Hoeller opened SPR-16995 and commented

Some HttpMessageConverter are inconsistent in their throwing of IOException versus HttpMessageNotReadableException, unnecessarily wrapping the former or throwing a mix of the latter and the general HttpMessageConversionException. Most importantly, ProtobufHttpMessageConverter needs a thorough revision here, as well as the JAXB2 based converters.

Let's streamline this for 5.1 and backport it to 5.0.8 as far as feasible.


Affects: 5.0.7

Issue Links:

Referenced from: commits ac1e287, d08b72a

Activity

  1. added
    in: web
    type: task
    on Jan 11, 2019
  2. added this to the 5.0.8 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webtype: task

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions