类 WebClientException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.web.reactive.function.client.WebClientException
- 所有已实现的接口:
Serializable
- 直接已知子类:
WebClientResponseException
public abstract class WebClientException extends NestedRuntimeException
Abstract base class for exception published byWebClient
in case of errors.- 从以下版本开始:
- 5.0
- 作者:
- Arjen Poutsma
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 WebClientException(String msg)
Construct a new instance ofWebClientException
with the given message.WebClientException(String msg, Throwable ex)
Construct a new instance ofWebClientException
with the given message and exception.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
WebClientException
public WebClientException(String msg)
Construct a new instance ofWebClientException
with the given message.- 参数:
msg
- the message
WebClientException
public WebClientException(String msg, Throwable ex)
Construct a new instance ofWebClientException
with the given message and exception.- 参数:
msg
- the messageex
- the exception