自定义 RestTemplate 异常处理 (转) 参考文章: (1)自定义 RestTemplate 异常处理 (转) (2)https://www.cnblogs.com/guanbin-529/p/11489264.html 备忘一下。