public class RestClientException extends NestedRuntimeException
ResponseErrorHandler.hasError(ClientHttpResponse)
を介して決定されたサーバーエラーレスポンス、レスポンスのデコードの失敗、低レベル I/O エラーのためにリクエストが失敗した場合に RestTemplate
によってスローされる例外の基本クラス。コンストラクターと説明 |
---|
RestClientException(StringSE msg) 指定されたメッセージを使用して、 RestClientException の新しいインスタンスを作成します。 |
RestClientException(StringSE msg, ThrowableSE ex) 指定されたメッセージと例外を使用して、 RestClientException の新しいインスタンスを構築します。 |
contains, getMessage, 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 RestClientException(StringSE msg)
RestClientException
の新しいインスタンスを作成します。msg
- メッセージ public RestClientException(StringSE msg, ThrowableSE ex)
RestClientException
の新しいインスタンスを構築します。msg
- メッセージ ex
- 例外