public class

HttpMessageNotReadableException

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.HttpMessageNotReadableException

Class Overview

Thrown by HttpMessageConverter implementations when the read method fails.

Summary

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

Public Constructors

public HttpMessageNotReadableException (String msg)

Create a new HttpMessageNotReadableException.

Parameters
msg the detail message

public HttpMessageNotReadableException (String msg, Throwable cause)

Create a new HttpMessageNotReadableException.

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