100101102103104105106107
private WebResponse buildResponse() throws IOException { WebResponseImpl response = new WebResponseImpl(connection); if (response.isSuccessful()) { return response; } else { throw new WebException(response); } }