You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dhalperi <gi...@git.apache.org> on 2016/04/09 01:12:34 UTC

[GitHub] incubator-beam pull request: FileBasedSource: throw IOException in...

GitHub user dhalperi opened a pull request:

    https://github.com/apache/incubator-beam/pull/155

    FileBasedSource: throw IOException instead of Exception where possible

    - Replace "throws Exception" with "throws IOException" from APIs
      that already only throw IOException.
    - Refactor one function to catch, handle, and rethrow
      (Interrupted|Execution)Exception.
    
    This makes it easier to write a new FileBasedSource, because the
    FilebasedReader functions are only registered to throw IOException.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dhalperi/incubator-beam filebasedsource

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-beam/pull/155.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #155
    
----
commit 8c3c94b6e8809d0ea7e276e9a0e29799182817df
Author: Dan Halperin <dh...@google.com>
Date:   2016-04-08T23:09:21Z

    FileBasedSource: throw IOException instead of Exception where possible
    
    - Replace "throws Exception" with "throws IOException" from APIs
      that already only throw IOException.
    - Refactor one function to catch, handle, and rethrow
      (Interrupted|Execution)Exception.
    
    This makes it easier to write a new FileBasedSource, because the
    FilebasedReader functions are only registered to throw IOException.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-beam pull request: FileBasedSource: throw IOException in...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-beam/pull/155


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---