googleapis / googleapis/google-http-java-client
JsonParser does not document exception handling
Open
priority: p3
type: feature request
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Description
JsonParser.parseAndClose and similar methods do not document which exceptions are thrown under what circumstances. The Jackson and GSON subclasses are in fact throwing different exceptions, IO and IllegalArgument to name two, for the same input. This needs to be documented and made consistent.
Contributor guide
Assessment
This issue has not been assessed yet.