public class RestClientException extends NestedRuntimeException
RestTemplate whenever it encounters
client-side HTTP errors.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
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. |
contains, getMessage, getMostSpecificCause, getRootCauseprivate static final long serialVersionUID
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