File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/main/java/com/googlecode/jsonrpc4j/spring/rest Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,17 @@ protected boolean supports(Class<?> clazz) {
138
138
139
139
@ Override
140
140
protected Object readInternal (Class <?> clazz , HttpInputMessage inputMessage )
141
- throws IOException , HttpMessageNotReadableException {
141
+ throws HttpMessageNotReadableException {
142
142
143
143
JavaType javaType = getJavaType (clazz );
144
144
try {
145
145
return this .objectMapper .readValue (inputMessage .getBody (), javaType );
146
146
} catch (IOException ex ) {
147
- throw new HttpMessageNotReadableException ("Could not read JSON: " + ex .getMessage (), ex );
147
+ throw new HttpMessageNotReadableException (
148
+ "Could not read JSON: " + ex .getMessage (),
149
+ ex ,
150
+ inputMessage
151
+ );
148
152
}
149
153
}
150
154
You can’t perform that action at this time.
0 commit comments