public class ServerErrorException extends ResponseStatusException
HttpStatus.INTERNAL_SERVER_ERROR
の例外。コンストラクターと説明 |
---|
ServerErrorException(StringSE reason) 使用すべきではありません。 |
ServerErrorException(StringSE reason, MethodParameter parameter) 使用すべきではありません。 |
ServerErrorException(StringSE reason, MethodParameter parameter, ThrowableSE cause) MethodParameter とオプションの原因による 500 エラーのコンストラクター。 |
ServerErrorException(StringSE reason, MethodSE handlerMethod, ThrowableSE cause) ハンドラー Method SE とオプションの原因を持つ 500 エラーのコンストラクター。 |
ServerErrorException(StringSE reason, ThrowableSE cause) 理由とオプションの原因を持つ 500 エラーのコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
MethodSE | getHandlerMethod() エラーに関連付けられているハンドラーメソッドがあれば、それを返します。 |
MethodParameter | getMethodParameter() エラーに関連付けられている特定のメソッドパラメーターがあれば、それを返します。 |
getHeaders, getMessage, getReason, getResponseHeaders, getStatus
contains, 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 ServerErrorException(StringSE reason, @Nullable ThrowableSE cause)
public ServerErrorException(StringSE reason, MethodSE handlerMethod, @Nullable ThrowableSE cause)
Method
SE とオプションの原因を持つ 500 エラーのコンストラクター。public ServerErrorException(StringSE reason, MethodParameter parameter, @Nullable ThrowableSE cause)
MethodParameter
とオプションの原因による 500 エラーのコンストラクター。@DeprecatedSE public ServerErrorException(StringSE reason, MethodParameter parameter)
MethodParameter
にリンクされた 500 エラーのコンストラクター。@DeprecatedSE public ServerErrorException(StringSE reason)
@Nullable public MethodSE getHandlerMethod()
@Nullable public MethodParameter getMethodParameter()