类 RestClientException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.web.client.RestClientException
所有已实现的接口:
Serializable
直接已知子类:
ResourceAccessException, RestClientResponseException, UnknownContentTypeException

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
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
  • 构造器详细资料

    • RestClientException

      public RestClientException(String msg)
      Construct a new instance of RestClientException with the given message.
      参数:
      msg - the message
    • RestClientException

      public RestClientException(String msg, Throwable ex)
      Construct a new instance of RestClientException with the given message and exception.
      参数:
      msg - the message
      ex - the exception