Add freemind converted.

This commit is contained in:
Paulo Gustavo Veiga
2012-09-08 12:01:26 -03:00
parent c950e68a27
commit 8321363333
3 changed files with 16 additions and 1 deletions

View File

@@ -23,12 +23,15 @@ public class DebugMappingJacksonHttpMessageConverter extends MappingJacksonHttpM
} catch (org.springframework.http.converter.HttpMessageNotReadableException e) {
throw new HttpMessageNotReadableException("Request Body:\n" + new String(bytes, "UTF-8"), e);
}
catch (IOException e) {
throw new HttpMessageNotReadableException("Request Body:\n" + new String(bytes, "UTF-8"), e);
}
}
}
class HttpMessageNotReadableException extends org.springframework.http.converter.HttpMessageNotReadableException {
public HttpMessageNotReadableException(String msg, org.springframework.http.converter.HttpMessageNotReadableException cause) {
public HttpMessageNotReadableException(String msg, Exception cause) {
super(msg, cause);
}
}