public Response toResponse(SimpleWebException e) {
    return e.getResponse();
  }
Map our exceptions to the Jersey response.  This lets us have nice
results in the error body.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/SimpleExceptionMapper.java