public class HttpMessageNotReadableException extends HttpMessageConversionException
HttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
メソッドが失敗したときに HttpMessageConverter
実装によってスローされます。コンストラクターと説明 |
---|
HttpMessageNotReadableException(StringSE msg) 使用すべきではありません。 |
HttpMessageNotReadableException(StringSE msg, HttpInputMessage httpInputMessage) 新しい HttpMessageNotReadableException を作成します。 |
HttpMessageNotReadableException(StringSE msg, ThrowableSE cause) 使用すべきではありません。 |
HttpMessageNotReadableException(StringSE msg, ThrowableSE cause, HttpInputMessage httpInputMessage) 新しい HttpMessageNotReadableException を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
HttpInputMessage | getHttpInputMessage() 元の HTTP メッセージを返します。 |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
@DeprecatedSE public HttpMessageNotReadableException(StringSE msg)
HttpMessageNotReadableException(String, HttpInputMessage)
に置き換えられました。msg
- 詳細メッセージ @DeprecatedSE public HttpMessageNotReadableException(StringSE msg, @Nullable ThrowableSE cause)
HttpMessageNotReadableException(String, Throwable, HttpInputMessage)
に置き換えられました。msg
- 詳細メッセージ cause
- 根本原因 (もしあれば)public HttpMessageNotReadableException(StringSE msg, HttpInputMessage httpInputMessage)
msg
- 詳細メッセージ httpInputMessage
- 元の HTTP メッセージ public HttpMessageNotReadableException(StringSE msg, @Nullable ThrowableSE cause, HttpInputMessage httpInputMessage)
msg
- 詳細メッセージ cause
- 根本原因 (もしあれば)httpInputMessage
- 元の HTTP メッセージ public HttpInputMessage getHttpInputMessage()