public class HttpMessageNotReadableException extends HttpMessageConversionException
HttpMessageConverter
implementations when the
HttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
method fails.Constructor and Description |
---|
HttpMessageNotReadableException(java.lang.String msg)
Create a new HttpMessageNotReadableException.
|
HttpMessageNotReadableException(java.lang.String msg,
java.lang.Throwable cause)
Create a new HttpMessageNotReadableException.
|
contains, getMessage, getMostSpecificCause, getRootCause
public HttpMessageNotReadableException(java.lang.String msg)
msg
- the detail messagepublic HttpMessageNotReadableException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause (if any)