クラス HttpMessageNotReadableException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.http.converter.HttpMessageConversionException
org.springframework.http.converter.HttpMessageNotReadableException
- 実装されているすべてのインターフェース:
- SerializableSE
HttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage) メソッドが失敗したときに HttpMessageConverter 実装によってスローされます。- 導入:
- 3.0
- 作成者:
- Arjen Poutsma, Juergen Hoeller
- 関連事項:
- コンストラクターの概要コンストラクターコンストラクター説明使用すべきではありません。- HttpMessageNotReadableException- (StringSE msg, ThrowableSE cause) 使用すべきではありません。- HttpMessageNotReadableException- (StringSE msg, ThrowableSE cause, HttpInputMessage httpInputMessage) 新しい HttpMessageNotReadableException を作成します。- HttpMessageNotReadableException- (StringSE msg, HttpInputMessage httpInputMessage) 新しい HttpMessageNotReadableException を作成します。
- メソッドのサマリー- クラス org.springframework.core.NestedRuntimeException から継承されたメソッド- contains, getMostSpecificCause, getRootCause- クラス java.lang.ThrowableSE から継承されたメソッド- addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toString
- コンストラクターの詳細- HttpMessageNotReadableException使用すべきではありません。新しい HttpMessageNotReadableException を作成します。- パラメーター:
- msg- 詳細メッセージ
 
- HttpMessageNotReadableException使用すべきではありません。新しい HttpMessageNotReadableException を作成します。- パラメーター:
- msg- 詳細メッセージ
- cause- 根本原因 (もしあれば)
 
- HttpMessageNotReadableException新しい HttpMessageNotReadableException を作成します。- パラメーター:
- msg- 詳細メッセージ
- httpInputMessage- 元の HTTP メッセージ
- 導入:
- 5.1
 
- HttpMessageNotReadableExceptionpublic HttpMessageNotReadableException- (StringSE msg, @Nullable ThrowableSE cause, HttpInputMessage httpInputMessage) 新しい HttpMessageNotReadableException を作成します。- パラメーター:
- msg- 詳細メッセージ
- cause- 根本原因 (もしあれば)
- httpInputMessage- 元の HTTP メッセージ
- 導入:
- 5.1
 
 
- メソッドの詳細- getHttpInputMessage元の HTTP メッセージを返します。- 導入:
- 5.1
 
 
HttpMessageNotReadableException(String, HttpInputMessage)を推奨