public class HttpMessageNotWritableException extends HttpMessageConversionException
HttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
メソッドが失敗したときに HttpMessageConverter
実装によってスローされます。コンストラクターと説明 |
---|
HttpMessageNotWritableException(StringSE msg) 新しい HttpMessageNotWritableException を作成します。 |
HttpMessageNotWritableException(StringSE msg, ThrowableSE cause) 新しい HttpMessageNotWritableException を作成します。 |
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
public HttpMessageNotWritableException(StringSE msg)
msg
- 詳細メッセージ public HttpMessageNotWritableException(StringSE msg, @Nullable ThrowableSE cause)
msg
- 詳細メッセージ cause
- 根本原因 (もしあれば)