org.springframework.http.converter
Class HttpMessageNotReadableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.http.converter.HttpMessageConversionException
org.springframework.http.converter.HttpMessageNotReadableException
- All Implemented Interfaces:
- Serializable
public class HttpMessageNotReadableException
- extends HttpMessageConversionException
Thrown by HttpMessageConverter
implementations when the
read
method fails.
- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
- Serialized Form
HttpMessageNotReadableException
public HttpMessageNotReadableException(String msg)
- Create a new HttpMessageNotReadableException.
- Parameters:
msg
- the detail message
HttpMessageNotReadableException
public HttpMessageNotReadableException(String msg,
Throwable cause)
- Create a new HttpMessageNotReadableException.
- Parameters:
msg
- the detail messagecause
- the root cause (if any)