public class HttpMessageNotWritableException extends HttpMessageConversionException
HttpMessageConverter
implementations when the
HttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
method fails.Constructor and Description |
---|
HttpMessageNotWritableException(String msg)
Create a new HttpMessageNotWritableException.
|
HttpMessageNotWritableException(String msg,
Throwable cause)
Create a new HttpMessageNotWritableException.
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HttpMessageNotWritableException(String msg)
msg
- the detail message