External references, such as a standards document, or specification?
http://javadoc.google-http-java-client.googlecode.com/hg/1.14.1-beta/com/google/
api/client/http/HttpResponseException.html
Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?
All
Please describe the feature requested.
Try running this snippet of code:
new NetHttpTransport().createRequestFactory().buildGetRequest(new
GenericUrl("http://www.google.com/doesnotexist")).execute();
It will throw this exception stack trace:
Exception in thread "main" com.google.api.client.http.HttpResponseException:
404 Not Found
<!DOCTYPE html>
...
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1170)
It would be helpful to specify also that we were accessing the URL
http://www.google.com/doesnotexist with the HTTP GET method. Perhaps we could
even show the HTTP headers.
In this case it's obviously not helpful, but one can imagine in a complex
application without logging enabled there may be cases where it may be
difficult to debug what went wrong.
Original issue reported on code.google.com by yan...@google.com on 6 Apr 2013 at 12:00
Original issue reported on code.google.com by
yan...@google.com
on 6 Apr 2013 at 12:00