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 2018/11/29 16:26:00 UTC
[jira] [Created] (BEAM-6150) Provide alternatives to
SerializableFunction and SimpleFunction that may declare exceptions
Jeff Klukas created BEAM-6150:
---------------------------------
Summary: 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
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)