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 ...
When using the restTemplate.put, my request is sent to the server and executes properly, but the restTemplate throws this exception: org.springframework.web.client ...