Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/3380
I think it is a good idea to avoid exception wrapping where ever possible,
so +1 to that.
I was wondering if we can improve exception handling even further for the
state abstraction, especially getting rid of the `throws Exception` in all the
methods on the state interfaces (like `ValueState.get()`).
Can we find some more "specific" exceptions for the signature, like `throws
IOException` or `throws StateAccessException`. That would mean that some
exceptions would have to be wrapped, though.
I think Java would support exception "downgrading", meaning going to more
specific exceptions, without breaking the API.
What do you think?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---