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