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
ConstructorsConstructorDescriptionConstruct a newResourceAccessExceptionwith the given message.ResourceAccessException(String msg, IOException ex) Construct a newResourceAccessExceptionwith the given message andIOException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceAccessException
Construct a newResourceAccessExceptionwith the given message.- Parameters:
msg- the message
-
ResourceAccessException
Construct a newResourceAccessExceptionwith the given message andIOException.- Parameters:
msg- the messageex- theIOException
-