This PR changes RestTemplate.createResourceAccessException() to private as it seems to be protected accidentally.

This PR also polishes it a bit along the way.