Skip to content

Commit

Permalink
docs: fix HttpResponseException Markup (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored and chingor13 committed Sep 26, 2019
1 parent 15ba3c3 commit 99d64e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/http-transport.md
Expand Up @@ -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
Expand Down Expand Up @@ -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.