title: Jersey not showing response in case it was an error
body: <p>I have the following problem... </p>
  
  <p>I'm testing a service that return HTTP responses on GET requests. </p>
  
  <p>My problem is that I would like to view the response even if it was an HTTP 500 / 404 or whatever response. </p>
  
  <p>I would like to view that. But I can't because it throws an exception and that's it.</p>
  
  <p>Is there a way to view a jersey response even if it was an error response? </p>
  
  <p>My code is like this: </p>
  
  <pre><code>webResource = client.resource(url);
  
  response = webResource.queryParams(alertParams)
          .header("x-token", token).get(String.class);
  </code></pre>
  
  <p>So when get receives an error response from the service I wont be able to view that although the response is something like this: </p>
  
  <p>{
    "errCode" : "ERR002",
    "errMsg" : "",
    "techErrMsg" : "LoginFailureGeneric"
  }</p>
  
  <p>Which is a 400 Bad Request. </p>
  
  <p>Thanks very much for all the help!!</p>