rlalfo / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

HttpResponseException doesn't have getResponse method #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Referenced documentation:

https://code.google.com/p/google-http-java-client/wiki/HTTP

Please describe in detail the wiki documentation request:

The following code in wiki documentation cannot be compiled.

try {
    request.execute()
  } catch (HttpResponseException e) {
    System.err.println(e.getResponse().parseAsString());
  }

Original issue reported on code.google.com by me@sunchangming.com on 9 Mar 2013 at 4:53