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

Same exception handling for both DataValueDeserializer methods #29

Merged
merged 1 commit into from
Jun 23, 2017

Conversation

thiemowmde
Copy link
Contributor

InvalidArgumentException should be turned into DeserializationException, and this should be done in both cases: with the old method that expected the DataValue class to have a newFromArray method, and with the new method using callbacks.

Bug: T168681

@manicki manicki merged commit 304c829 into master Jun 23, 2017
@manicki
Copy link
Contributor

manicki commented Jun 23, 2017

No test?

@manicki manicki deleted the builderExceptions branch June 23, 2017 10:00
thiemowmde added a commit that referenced this pull request Jun 23, 2017
@thiemowmde
Copy link
Contributor Author

Test is in #30 now.

manicki added a commit that referenced this pull request Jun 23, 2017
Add missing test for change made in #29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants