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, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpMessageNotWritableException(String msg)
msg - the detail message