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

Properly document exception contract for serialization and serializers #1875

Closed
qwwdfsad opened this issue Feb 25, 2022 · 0 comments
Closed
Assignees

Comments

@qwwdfsad
Copy link
Contributor

For now, we implicitly expect all serializers and format to throw either SerializationException or IllegalArgumentException (the former is the subclass of the latter, rationale).

We have to properly document this invariant in all the corresponding places (formats, base classes, .md guides etc.)

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

No branches or pull requests

1 participant