Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PendingResult#await throw specific Exception #238

Merged
merged 6 commits into from
Mar 22, 2017

Conversation

daisy1754
Copy link
Contributor

This PR addresses #175. Currently PendingResult#await() throws generic Exception. This PR refactor so it throws IOException (exception during HTTP communication), InterruptedException (interrupted while waiting response), ApiException (error in API response).

Kazuki Nishiura added 6 commits March 9, 2017 21:21
…verb is specified.

Before this change, such request ended up NullPointerExceptions.
…ctor

so exception is thrown if invalid key is passed or provider for
HMAC-SHA1 doesn't exist
…TF-8

According to following doc, UTF-8 support is required for
every Java implementation.
http://docs.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html
@domesticmouse domesticmouse merged commit b2cfcb4 into googlemaps:master Mar 22, 2017
@domesticmouse
Copy link
Contributor

Thank you for this cleanup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants