Skip to content
Permalink
Browse files

docs: fix HttpResponseException Markup (#829)

  • Loading branch information
0xflotus authored and chingor13 committed Sep 26, 2019
1 parent 15ba3c3 commit 99d64e0d88bdcc3b00d54ee9370e052e5f949680
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/http-transport.md
@@ -86,7 +86,7 @@ that also, use `Level.ALL` instead of `Level.CONFIG`.
## Handling HTTP error responses

When an HTTP error response (an HTTP status code of 300 or higher) is received,
[`HttpRequest.execute()`][request-execute] throws an [`HttpResponseException`][response-exeception].
[`HttpRequest.execute()`][request-execute] throws an [`HttpResponseException`][response-exception].
Here's an example usage:

```java
@@ -133,4 +133,4 @@ HttpRequestFactory requestFactory = transport.createRequestFactory(new MyInitial
[file-handler]: https://docs.oracle.com/javase/7/docs/api/java/util/logging/FileHandler.html
[request-execute]: https://googleapis.dev/java/google-http-client/latest/com/google/api/client/http/HttpRequest.html#execute--
[response-exception]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpResponseException.html
[http-unsuccessful-response-handler]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpUnsuccessfulResponseHandler.html
[http-unsuccessful-response-handler]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpUnsuccessfulResponseHandler.html

0 comments on commit 99d64e0

Please sign in to comment.
You can’t perform that action at this time.