public class DecodingException extends CodecException
Decoder
で発生する可能性のある構成の課題などの CodecException
とは対照的です。 たとえば、サーバー Web アプリケーションでは、DecodingException
は 400(不正な入力)ステータスのレスポンスに変換され、CodecException
は 500(サーバーエラー)ステータスに変換されます。
コンストラクターと説明 |
---|
DecodingException(StringSE msg) 新しい DecodingException を作成します。 |
DecodingException(StringSE msg, ThrowableSE cause) 新しい DecodingException を作成します。 |
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 DecodingException(StringSE msg)
msg
- 詳細メッセージ public DecodingException(StringSE msg, @Nullable ThrowableSE cause)
msg
- 詳細メッセージ cause
- 例外の根本的な原因(ある場合)