Description
While doing HADOOP-10771, while discussing it with daryn, a suggested improvement was to propagate the server side exceptions to the client in the same way WebHDFS does it.
This JIRA is to provide a utility class to do the same and refactor HttpFS and KMS to use it.