Top Description Constructors Methods
org.springframework.http.converter

public Class HttpMessageConversionException

extends NestedRuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.http.converter.HttpMessageNotReadableException, org.springframework.http.converter.HttpMessageNotWritableException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.NestedRuntimeException, org.springframework.lang.Nullable

Thrown by HttpMessageConverter implementations when a conversion attempt fails.
Authors
Arjen Poutsma, Sebastien Deleuze
Since
3.0

Constructor Summary

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

Create a new HttpMessageConversionException.

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

Create a new HttpMessageConversionException.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

HttpMessageConversionExceptionback to summary
public HttpMessageConversionException(String msg)

Create a new HttpMessageConversionException.

Parameters
msg:String

the detail message

HttpMessageConversionExceptionback to summary
public HttpMessageConversionException(String msg, Throwable cause)

Create a new HttpMessageConversionException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause (if any)