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
Juergen Hoeller opened SPR-16995 and commented
Some
HttpMessageConverterare inconsistent in their throwing ofIOExceptionversusHttpMessageNotReadableException, unnecessarily wrapping the former or throwing a mix of the latter and the generalHttpMessageConversionException. Most importantly,ProtobufHttpMessageConverterneeds 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