public class RestClientException extends NestedRuntimeException
RestTemplate
whenever it encounters
client-side HTTP errors.Constructor and Description |
---|
RestClientException(java.lang.String msg)
Construct a new instance of
RestClientException with the given message. |
RestClientException(java.lang.String msg,
java.lang.Throwable ex)
Construct a new instance of
RestClientException with the given message and
exception. |
contains, getMessage, getMostSpecificCause, getRootCause
public RestClientException(java.lang.String msg)
RestClientException
with the given message.msg
- the messagepublic RestClientException(java.lang.String msg, java.lang.Throwable ex)
RestClientException
with the given message and
exception.msg
- the messageex
- the exception