类 RestClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.web.client.RestClientException
- 所有已实现的接口:
Serializable
public class RestClientException
extends cn.taketoday.core.NestedRuntimeException
Base class for exceptions thrown by
RestTemplate in case a request
fails because of a server error response, as determined via
ResponseErrorHandler.hasError(ClientHttpResponse), failure to decode
the response, or a low level I/O error.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明Construct a new instance ofRestClientExceptionwith the given message.RestClientException(String msg, Throwable ex) Construct a new instance ofRestClientExceptionwith the given message and exception. -
方法概要
从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
-
构造器详细资料
-
RestClientException
Construct a new instance ofRestClientExceptionwith the given message.- 参数:
msg- the message
-
RestClientException
Construct a new instance ofRestClientExceptionwith the given message and exception.- 参数:
msg- the messageex- the exception
-