title: jersey client not throwing exceptions property
body: <p>I'm using jersey client to post data to a webservice. I've noticed some weird behavior from Jersey client.</p>
  
  <p>I'm using following code:</p>
  
  <pre><code>    WebResource resource=null;
      try {
          ClientResponse response =   resource.accept(mediaType).post(ClientResponse.class, requestEntity);
  
  System.out.println("Successful response received, statusCode=" + jerseyClientResponse.getStatus());)
  
      } catch (UniformInterfaceException e) {
          ClientResponse r = e.getResponse();
          System.out.println("Exception from server, statusCode="+r.getStatus());
      }
  </code></pre>
  
  <p>If server returns 404 status,  I'm expecting jersey to throw UniformInterfaceException exception but when I execute the code, I get following message:</p>
  
  <pre><code>Successful response received, statusCode=404
  </code></pre>
  
  <p>Can anyone tell me why is UniformInterfaceException not getting thrown?</p>
  
  <p>I'm using jersey client version 1.18.</p>
  
  <p>Thanks in advance!</p>