public class

HttpMessageNotWritableException

extends HttpMessageConversionException
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

Class Overview

Thrown by HttpMessageConverter implementations when the org.springframework.http.converter.HttpMessageConverter#write(Object, org.springframework.http.HttpOutputMessage) write method fails.

Summary

Public Constructors
HttpMessageNotWritableException(String msg)
Create a new HttpMessageNotWritableException.
HttpMessageNotWritableException(String msg, Throwable cause)
Create a new HttpMessageNotWritableException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public HttpMessageNotWritableException (String msg)

Create a new HttpMessageNotWritableException.

Parameters
msg the detail message

public HttpMessageNotWritableException (String msg, Throwable cause)

Create a new HttpMessageNotWritableException.

Parameters
msg the detail message
cause the root cause (if any)