[ 
https://issues.apache.org/jira/browse/BEAM-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132521#comment-17132521
 ] 

Beam JIRA Bot commented on BEAM-281:
------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> IOChannelUtils.getFactory should throw an unchecked exception rather than 
> IOException
> -------------------------------------------------------------------------------------
>
>                 Key: BEAM-281
>                 URL: https://issues.apache.org/jira/browse/BEAM-281
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Scott Wegner
>            Assignee: Pei He
>            Priority: P3
>              Labels: stale-assigned, triaged
>
> In [this 
> PR|https://github.com/apache/incubator-beam/pull/300#discussion-diff-63109718],
>  we've add a new method, {{IOChannelUtils.hasFactory}}, which provides a 
> convenient way to verify that a factory exists before calling getFactory. As 
> such, the IOException thrown by getFactory is extra cruft for consumers using 
> the new pattern.
> We should update additional consumers to check hasFactory first, and then 
> migrate getFactory to throw a RuntimeException



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

Reply via email to