org.springframework.http.converter
Class HttpMessageConversionException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
org.springframework.core.NestedRuntimeException
                  
org.springframework.http.converter.HttpMessageConversionException
- All Implemented Interfaces: 
 - Serializable
 
- Direct Known Subclasses: 
 - HttpMessageNotReadableException, HttpMessageNotWritableException
 
public class HttpMessageConversionException
- extends NestedRuntimeException
 
Thrown by HttpMessageConverter implementations when the conversion fails.
- Since:
 
  - 3.0
 
- Author:
 
  - Arjen Poutsma
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
HttpMessageConversionException
public HttpMessageConversionException(String msg)
- Create a new HttpMessageConversionException.
- Parameters:
 msg - the detail message
 
HttpMessageConversionException
public HttpMessageConversionException(String msg,
                                      Throwable cause)
- Create a new HttpMessageConversionException.
- Parameters:
 msg - the detail messagecause - the root cause (if any)