クラス ServerErrorException
- 実装されているすべてのインターフェース:
SerializableSE,ErrorResponse
失敗したコントローラーメソッド、または解決できなかったコントローラーメソッド引数に関する追加情報を公開する
HttpStatus.INTERNAL_SERVER_ERROR の例外。- 導入:
- 5.0
- 作成者:
- Rossen Stoyanchev
- 関連事項:
ネストされたクラスの要約
インターフェース org.springframework.web.ErrorResponse から継承されたネストクラス / インターフェース
ErrorResponse.Builderコンストラクターの概要
コンストラクターコンストラクター説明ServerErrorException(StringSE reason, MethodSE handlerMethod, ThrowableSE cause) ハンドラーMethodSE とオプションの原因を持つ 500 エラーのコンストラクター。ServerErrorException(StringSE reason, ThrowableSE cause) 理由とオプションの原因を持つ 500 エラーのコンストラクター。ServerErrorException(StringSE reason, MethodParameter parameter, ThrowableSE cause) MethodParameterとオプションの原因による 500 エラーのコンストラクター。メソッドのサマリー
修飾子と型メソッド説明エラーに関連付けられているハンドラーメソッドがあれば、それを返します。エラーに関連付けられている特定のメソッドパラメーターがあれば、それを返します。クラス org.springframework.web.server.ResponseStatusException から継承されたメソッド
getHeaders, getMessage, getReason, getResponseHeaders, updateAndGetBodyクラス org.springframework.web.ErrorResponseException から継承されたメソッド
getBody, getDetailMessageArguments, getDetailMessageCode, getStatusCode, setDetail, setInstance, setTitle, setTypeクラス org.springframework.core.NestedRuntimeException から継承されたメソッド
contains, getMostSpecificCause, getRootCauseクラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.web.ErrorResponse から継承されたメソッド
getDetailMessageArguments, getTitleMessageCode, getTypeMessageCode
コンストラクターの詳細
ServerErrorException
理由とオプションの原因を持つ 500 エラーのコンストラクター。- 導入:
- 5.0.5
ServerErrorException
ハンドラーMethodSE とオプションの原因を持つ 500 エラーのコンストラクター。- 導入:
- 5.0.5
ServerErrorException
public ServerErrorException(StringSE reason, MethodParameter parameter, @Nullable ThrowableSE cause) MethodParameterとオプションの原因による 500 エラーのコンストラクター。
メソッドの詳細
getHandlerMethod
エラーに関連付けられているハンドラーメソッドがあれば、それを返します。- 導入:
- 5.0.5
getMethodParameter
エラーに関連付けられている特定のメソッドパラメーターがあれば、それを返します。