Translate EOF to HttpMessageNotReadableException

The MappingJacksonHttpMessageConverter now catches all IOException
types raised while reading JSON and translates them into
HttpMessageNotReadableException.

Issue: SPR-9238
Backport-Issue: SPR-9397
Backport-Commit: 816c1f47a4
This commit is contained in:
Rossen Stoyanchev
2012-06-26 17:04:44 -04:00
parent c9a2dbdbfd
commit e66bc07c37
3 changed files with 5 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ Changes in version 3.1.2 (2012-06-??)
* fixed StandardServletMultipartResolver compatibility with Resin (only deleting actual file parts)
* fix issue with parsing invalid Content-Type or Accept headers
* add Jackson 2 HttpMessageConverter and View types
* translate IOException from Jackson to HttpMessageNotReadableException
Changes in version 3.1.1 (2012-02-16)
-------------------------------------