|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.client.RestClientException
public class RestClientException
Base class for exceptions thrown by RestTemplate
whenever it encounters client-side HTTP errors.
Constructor Summary | |
---|---|
RestClientException(java.lang.String msg)
Construct a new instance of HttpClientException with the given message. |
|
RestClientException(java.lang.String msg,
java.lang.Throwable ex)
Construct a new instance of HttpClientException with the given message and exception. |
Method Summary |
---|
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getMessage, getMostSpecificCause, getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RestClientException(java.lang.String msg)
HttpClientException
with the given message.
msg
- the messagepublic RestClientException(java.lang.String msg, java.lang.Throwable ex)
HttpClientException
with the given message and exception.
msg
- the messageex
- the exception
|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |