public class

HttpMessageConversionException

extends NestedRuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.http.converter.HttpMessageConversionException
Known Direct Subclasses

Class Overview

Thrown by HttpMessageConverter implementations when the conversion fails.

Summary

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

Public Constructors

public HttpMessageConversionException (String msg)

Create a new HttpMessageConversionException.

Parameters
msg the detail message

public HttpMessageConversionException (String msg, Throwable cause)

Create a new HttpMessageConversionException.

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