@Test public void hasCorrectStatusCode() { exception = new FailedHttpResponseException(200, entity); assertEquals(200, exception.getStatusCode()); exception = new FailedHttpResponseException(404, entity); assertEquals(404, exception.getStatusCode()); }
public int getStatusCode() { return statusCode; }
FailedHttpResponseException extends RuntimeException { public int getStatusCode() { return statusCode; } }
FailedHttpResponseException extends RuntimeException { public int getStatusCode() { return statusCode; } FailedHttpResponseException(int statusCode, HttpEntity entity); }
FailedHttpResponseException extends RuntimeException { public int getStatusCode() { return statusCode; } FailedHttpResponseException(int statusCode, HttpEntity entity); int getStatusCode(); HttpEntity getEntity(); String getEntityAsString(); }
FailedHttpResponseException extends RuntimeException { public int getStatusCode() { return statusCode; } FailedHttpResponseException(int statusCode, HttpEntity entity); int getStatusCode(); HttpEntity getEntity(); String getEntityAsString();  }