クラス 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
 
- ServerErrorExceptionpublic ServerErrorException- (StringSE reason, MethodParameter parameter, @Nullable ThrowableSE cause) - MethodParameterとオプションの原因による 500 エラーのコンストラクター。
 
- メソッドの詳細- getHandlerMethodエラーに関連付けられているハンドラーメソッドがあれば、それを返します。- 導入:
- 5.0.5
 
- getMethodParameterエラーに関連付けられている特定のメソッドパラメーターがあれば、それを返します。