The javadoc for RestClientException says (emphasise is mine):

Base class for exceptions thrown by {@link RestTemplate} whenever it encounters client-side HTTP errors

But one of its subclasses is HttpServerErrorException, so clearly RestClientException signals both client- and server-side errors.