Aligned exception handling in Jackson and JAXB codecs

Issue: SPR-15516
This commit is contained in:
Juergen Hoeller
2017-05-05 23:19:01 +02:00
parent 1c4babd410
commit 4fdd85324d
6 changed files with 97 additions and 86 deletions

View File

@@ -225,7 +225,7 @@ public abstract class AbstractMessageConverterMethodArgumentResolver implements
}
}
catch (IOException ex) {
throw new HttpMessageNotReadableException("Could not read document: " + ex.getMessage(), ex);
throw new HttpMessageNotReadableException("I/O error while reading input message", ex);
}
if (body == NO_VALUE) {