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

Add StreamWriteException type to eventually replace JsonGenerationException #664

Closed
cowtowncoder opened this issue Jan 16, 2021 · 0 comments

Comments

@cowtowncoder
Copy link
Member

(another issue related to #661 -- but this one can go in 2.13)

In 2.10 a new intermediate exception type StreamReadException was added, to help change exception hierarchy in 3.0 to have less JSON-specific names (and some other related cleanup). It would make sense to similarly add StreamWriteException and this can go in 2.13 even if the main goal is to improve 3.0: this may help make transition from 2.x to 3.0 slightly easier. Exception should extends JsonProcessingException in 2.x; may rethink this for 3.0 (to directly extend JacksonException, likely).

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

No branches or pull requests

1 participant