类 ResourceAccessException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.web.client.RestClientException
- org.springframework.web.client.ResourceAccessException
- 所有已实现的接口:
Serializable
public class ResourceAccessException extends RestClientException
Exception thrown when an I/O error occurs.- 从以下版本开始:
- 3.0
- 作者:
- Arjen Poutsma
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 ResourceAccessException(String msg)
Construct a newHttpIOException
with the given message.ResourceAccessException(String msg, IOException ex)
Construct a newHttpIOException
with the given message andIOException
.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
ResourceAccessException
public ResourceAccessException(String msg)
Construct a newHttpIOException
with the given message.- 参数:
msg
- the message
ResourceAccessException
public ResourceAccessException(String msg, IOException ex)
Construct a newHttpIOException
with the given message andIOException
.- 参数:
msg
- the messageex
- theIOException