类 HttpMessageNotReadableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.http.converter.HttpMessageConversionException
cn.taketoday.http.converter.HttpMessageNotReadableException
- 所有已实现的接口:
Serializable
Thrown by
HttpMessageConverter implementations when the
HttpMessageConverter.read(java.lang.Class<? extends T>, cn.taketoday.http.HttpInputMessage) method fails.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Juergen Hoeller
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明Create a new HttpMessageNotReadableException.HttpMessageNotReadableException(String msg, HttpInputMessage httpInputMessage) Create a new HttpMessageNotReadableException.HttpMessageNotReadableException(String msg, Throwable cause) Create a new HttpMessageNotReadableException.HttpMessageNotReadableException(String msg, Throwable cause, HttpInputMessage httpInputMessage) Create a new HttpMessageNotReadableException. -
方法概要
从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
字段详细资料
-
httpInputMessage
-
-
构造器详细资料
-
HttpMessageNotReadableException
Create a new HttpMessageNotReadableException.- 参数:
msg- the detail message
-
HttpMessageNotReadableException
Create a new HttpMessageNotReadableException.- 参数:
msg- the detail messagecause- the root cause (if any)
-
HttpMessageNotReadableException
Create a new HttpMessageNotReadableException.- 参数:
msg- the detail messagehttpInputMessage- the original HTTP message
-
HttpMessageNotReadableException
public HttpMessageNotReadableException(String msg, @Nullable Throwable cause, HttpInputMessage httpInputMessage) Create a new HttpMessageNotReadableException.- 参数:
msg- the detail messagecause- the root cause (if any)httpInputMessage- the original HTTP message
-
-
方法详细资料
-
getHttpInputMessage
Return the original HTTP message.
-