[jira] [Created] (FLINK-19384) Source API exception signatures are inconsistent

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19384) Source API exception signatures are inconsistent

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-19384:
------------------------------------

             Summary: Source API exception signatures are inconsistent
                 Key: FLINK-19384
                 URL: https://issues.apache.org/jira/browse/FLINK-19384
             Project: Flink
          Issue Type: Bug
          Components: API / Core
    Affects Versions: 1.11.2, 1.11.1, 1.11.0
            Reporter: Stephan Ewen
             Fix For: 1.12.0


The methods in {{org.apache.flink.api.connector.source.Source}} have inconsistent exception signatures:
  - the methods to create reader and enumerator do not throw a checked exception
  - the method to restore an enumerator throws an {{IOException}}.

Either all methods should allow throwing checked IOExceptions or all methods should not allo any checked exceptions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)