クラス ServerErrorException
- 実装されているすべてのインターフェース:
SerializableSE, ErrorResponse
失敗したコントローラーメソッド、または解決できなかったコントローラーメソッド引数に関する追加情報を公開する
HttpStatus.INTERNAL_SERVER_ERROR の例外。- 導入:
- 5.0
- 作成者:
- Rossen Stoyanchev
- 関連事項:
ネストされたクラスの要約
インターフェース ErrorResponse から継承されたネストクラス / インターフェース
ErrorResponse.Builder, ErrorResponse.Interceptorコンストラクターの概要
コンストラクターコンストラクター説明ServerErrorException(StringSE reason, @Nullable ThrowableSE cause) 理由とオプションの原因を持つ 500 エラーのコンストラクター。ServerErrorException(StringSE reason, MethodSE handlerMethod, @Nullable ThrowableSE cause) ハンドラーMethodSE とオプションの原因を持つ 500 エラーのコンストラクター。ServerErrorException(StringSE reason, MethodParameter parameter, @Nullable ThrowableSE cause) MethodParameterとオプションの原因による 500 エラーのコンストラクター。メソッドのサマリー
修飾子と型メソッド説明エラーに関連付けられているハンドラーメソッドがあれば、それを返します。エラーに関連付けられている特定のメソッドパラメーターがあれば、それを返します。クラス 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
コンストラクターの詳細
ServerErrorException
理由とオプションの原因を持つ 500 エラーのコンストラクター。- 導入:
- 5.0.5
ServerErrorException
ハンドラーMethodSE とオプションの原因を持つ 500 エラーのコンストラクター。- 導入:
- 5.0.5
ServerErrorException
public ServerErrorException(StringSE reason, MethodParameter parameter, @Nullable ThrowableSE cause) MethodParameterとオプションの原因による 500 エラーのコンストラクター。
メソッドの詳細
getHandlerMethod
getMethodParameter
エラーに関連付けられている特定のメソッドパラメーターがあれば、それを返します。