类 HttpMessageConversionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.http.converter.HttpMessageConversionException
所有已实现的接口:
Serializable
直接已知子类:
HttpMessageNotReadableException, HttpMessageNotWritableException

public class HttpMessageConversionException extends cn.taketoday.core.NestedRuntimeException
Thrown by HttpMessageConverter implementations when a conversion attempt fails.
从以下版本开始:
4.0
作者:
Arjen Poutsma, Sebastien Deleuze
另请参阅:
  • 构造器详细资料

    • HttpMessageConversionException

      public HttpMessageConversionException(String msg)
      Create a new HttpMessageConversionException.
      参数:
      msg - the detail message
    • HttpMessageConversionException

      public HttpMessageConversionException(String msg, @Nullable Throwable cause)
      Create a new HttpMessageConversionException.
      参数:
      msg - the detail message
      cause - the root cause (if any)