You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Juergen Hoeller opened SPR-16995 and commented
Some
HttpMessageConverter
are inconsistent in their throwing ofIOException
versusHttpMessageNotReadableException
, unnecessarily wrapping the former or throwing a mix of the latter and the generalHttpMessageConversionException
. 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
The text was updated successfully, but these errors were encountered: