[ https://issues.apache.org/jira/browse/FLINK-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878038#comment-15878038 ]
ASF GitHub Bot commented on FLINK-5865: --------------------------------------- Github user shixiaogang commented on the issue: https://github.com/apache/flink/pull/3380 I think we may borrow some ideas from Java. For example, the methods in `Map` do not throw any exception in their signatures. But the interfaces define a set of specific `RuntimeException` that can be thrown by the implementation such as `ClassCastException`. Maybe we can do similarly. What do you think? @StephanEwen > Throw original exception in states > ---------------------------------- > > Key: FLINK-5865 > URL: https://issues.apache.org/jira/browse/FLINK-5865 > Project: Flink > Issue Type: Improvement > Components: State Backends, Checkpointing > Affects Versions: 1.3.0 > Reporter: Xiaogang Shi > Assignee: Xiaogang Shi > > Now all exception thrown in RocksDB states are converted to > {{RuntimeException}}. It's unnecessary and will print useless stacks in the > log. > I think it's better to throw the original exception, without any wrapping. -- This message was sent by Atlassian JIRA (v6.3.15#6346)