Top Description Constructors
org.springframework.http.converter

public Class HttpMessageNotWritableException

extends HttpMessageConversionException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.lang.Nullable

Thrown by HttpMessageConverter implementations when the HttpMessageConverter#write method fails.
Author
Arjen Poutsma
Since
3.0

Constructor Summary

AccessConstructor and Description
public
HttpMessageNotWritableException(String
the detail message
msg
)

Create a new HttpMessageNotWritableException.

public
HttpMessageNotWritableException(String
the detail message
msg
,
Throwable
the root cause (if any)
cause
)

Create a new HttpMessageNotWritableException.

Constructor Detail

HttpMessageNotWritableExceptionback to summary
public HttpMessageNotWritableException(String msg)

Create a new HttpMessageNotWritableException.

Parameters
msg:String

the detail message

HttpMessageNotWritableExceptionback to summary
public HttpMessageNotWritableException(String msg, Throwable cause)

Create a new HttpMessageNotWritableException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause (if any)