Package org.springframework.web.client
Class 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
- All Implemented Interfaces:
Serializable
Exception thrown when an I/O error occurs.
- Since:
- 3.0
- Author:
- Arjen Poutsma
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a newResourceAccessException
with the given message.ResourceAccessException
(String msg, IOException ex) Construct a newResourceAccessException
with the given message andIOException
. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceAccessException
Construct a newResourceAccessException
with the given message.- Parameters:
msg
- the message
-
ResourceAccessException
Construct a newResourceAccessException
with the given message andIOException
.- Parameters:
msg
- the messageex
- theIOException
-