org.springframework.http.converter
Class HttpMessageNotWritableException
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.HttpMessageNotWritableException
- All Implemented Interfaces:
- Serializable
public class HttpMessageNotWritableException
- extends HttpMessageConversionException
Thrown by HttpMessageConverter
implementations when the
write
method fails.
- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
- Serialized Form
HttpMessageNotWritableException
public HttpMessageNotWritableException(String msg)
- Create a new HttpMessageNotWritableException.
- Parameters:
msg
- the detail message
HttpMessageNotWritableException
public HttpMessageNotWritableException(String msg,
Throwable cause)
- Create a new HttpMessageNotWritableException.
- Parameters:
msg
- the detail messagecause
- the root cause (if any)