When incorrect number of arguments are passed into the exchange method, the code currently throws IllegalArgumentException. I think this should be ResourceAccessException or RestClientException since ...