fer626 / google-api-java-client

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

Add getStatusMessage to HttpResponseException #464

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
HttpResponseException already has a getStatusCode().  It would be nice to also 
be able to getStatusMessage().

e.g.: in the case of a "401 Unauthorized" response, 
getStatusCode() would return 401, and
getStatusMessage() would return "Unauthorized".

Original issue reported on code.google.com by dar...@google.com on 23 Apr 2012 at 8:19

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/google-http-java-client/issues/detail?id=93

Original comment by yan...@google.com on 23 Apr 2012 at 11:04