You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jeff Klukas (JIRA)" <ji...@apache.org> on 2019/01/04 03:24:00 UTC

[jira] [Updated] (BEAM-6150) Provide alternatives to SerializableFunction and SimpleFunction that may declare exceptions

     [ https://issues.apache.org/jira/browse/BEAM-6150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Klukas updated BEAM-6150:
------------------------------
    Fix Version/s: 2.10.0

> Provide alternatives to SerializableFunction and SimpleFunction that may declare exceptions
> -------------------------------------------------------------------------------------------
>
>                 Key: BEAM-6150
>                 URL: https://issues.apache.org/jira/browse/BEAM-6150
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Jeff Klukas
>            Assignee: Jeff Klukas
>            Priority: Minor
>             Fix For: 2.10.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Contextful.Fn allows subclasses to declare checked exceptions, but neither SerializableFunction nor SimpleFunction do. We want to add a new entry in each of those hierarchies where checked exceptions are allowed. We can then change existing method signatures to accept the new superinterfaces in contexts where allowing user code to throw checked exceptions is acceptable, such as in ProcessElement methods.
> Discussed on the dev mailing list:
> https://lists.apache.org/thread.html/eecd8dea8b47710098ec67d73b87cf9b4e2926c444c3fee1a6b9a743@%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)