クラス InvalidApiVersionException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
java.lang.RuntimeExceptionSE
org.springframework.core.NestedRuntimeException
org.springframework.web.ErrorResponseException
org.springframework.web.server.ResponseStatusException
org.springframework.web.accept.InvalidApiVersionException
- 実装されているすべてのインターフェース:
SerializableSE, ErrorResponse
- 既知の直属サブクラス
NotAcceptableApiVersionException
API バージョンを解析できない場合、またはサポートされているバージョンセットに含まれていない場合に発生する例外。
- 導入:
- 7.0
- 作成者:
- Rossen Stoyanchev
- 関連事項:
ネストされたクラスの要約
インターフェース ErrorResponse から継承されたネストクラス / インターフェース
ErrorResponse.Builder, ErrorResponse.Interceptorコンストラクターの概要
コンストラクターコンストラクター説明InvalidApiVersionException(StringSE version) InvalidApiVersionException(StringSE version, @Nullable StringSE msg, @Nullable ExceptionSE cause) 方法の概要
クラス ResponseStatusException から継承されたメソッド
getHeaders, getMessage, getReason, updateAndGetBodyクラス ErrorResponseException から継承されたメソッド
getBody, getDetailMessageArguments, getDetailMessageCode, getStatusCode, setDetail, setInstance, setTitle, setTypeクラス NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCauseクラス ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース ErrorResponse から継承されたメソッド
getDetailMessageArguments, getTitleMessageCode, getTypeMessageCode
コンストラクターの詳細
InvalidApiVersionException
InvalidApiVersionException
public InvalidApiVersionException(StringSE version, @Nullable StringSE msg, @Nullable ExceptionSE cause)
メソッドの詳細
getVersion
リクエストされたバージョンを返します。