public class RestClientException extends NestedRuntimeException
RestTemplate whenever it encounters
client-side HTTP errors.| Constructor and Description |
|---|
RestClientException(String msg)
Construct a new instance of
HttpClientException with the given message. |
RestClientException(String msg,
Throwable ex)
Construct a new instance of
HttpClientException with the given message and
exception. |
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RestClientException(String msg)
HttpClientException with the given message.msg - the message