{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-beam/issues/155","repository_url":"https://api.github.com/repos/apache/incubator-beam","labels_url":"https://api.github.com/repos/apache/incubator-beam/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-beam/issues/155/comments","events_url":"https://api.github.com/repos/apache/incubator-beam/issues/155/events","html_url":"https://github.com/apache/incubator-beam/pull/155","id":147061771,"number":155,"title":"FileBasedSource: throw IOException instead of Exception where possible","user":{"login":"dhalperi","id":526415,"avatar_url":"https://avatars.githubusercontent.com/u/526415?v=3","gravatar_id":"","url":"https://api.github.com/users/dhalperi","html_url":"https://github.com/dhalperi","followers_url":"https://api.github.com/users/dhalperi/followers","following_url":"https://api.github.com/users/dhalperi/following{/other_user}","gists_url":"https://api.github.com/users/dhalperi/gists{/gist_id}","starred_url":"https://api.github.com/users/dhalperi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhalperi/subscriptions","organizations_url":"https://api.github.com/users/dhalperi/orgs","repos_url":"https://api.github.com/users/dhalperi/repos","events_url":"https://api.github.com/users/dhalperi/events{/privacy}","received_events_url":"https://api.github.com/users/dhalperi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T23:12:33Z","updated_at":"2016-04-11T18:34:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-beam/pulls/155","html_url":"https://github.com/apache/incubator-beam/pull/155","diff_url":"https://github.com/apache/incubator-beam/pull/155.diff","patch_url":"https://github.com/apache/incubator-beam/pull/155.patch"},"body":"- Replace \"throws Exception\" with \"throws IOException\" from APIs\r\n  that already only throw IOException. **Only private or final methods,\r\n  so that we don't affect overriding classes.**\r\n- Refactor one function to catch, handle, and rethrow\r\n  (Interrupted|Execution)Exception.\r\n\r\nThis makes it easier to write a new FileBasedSource, because the\r\nFilebasedReader functions are only registered to throw IOException."},"comment":{"url":"https://api.github.com/repos/apache/incubator-beam/issues/comments/208489426","html_url":"https://github.com/apache/incubator-beam/pull/155#issuecomment-208489426","issue_url":"https://api.github.com/repos/apache/incubator-beam/issues/155","id":208489426,"user":{"login":"tgroh","id":429866,"avatar_url":"https://avatars.githubusercontent.com/u/429866?v=3","gravatar_id":"","url":"https://api.github.com/users/tgroh","html_url":"https://github.com/tgroh","followers_url":"https://api.github.com/users/tgroh/followers","following_url":"https://api.github.com/users/tgroh/following{/other_user}","gists_url":"https://api.github.com/users/tgroh/gists{/gist_id}","starred_url":"https://api.github.com/users/tgroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgroh/subscriptions","organizations_url":"https://api.github.com/users/tgroh/orgs","repos_url":"https://api.github.com/users/tgroh/repos","events_url":"https://api.github.com/users/tgroh/events{/privacy}","received_events_url":"https://api.github.com/users/tgroh/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T18:34:03Z","updated_at":"2016-04-11T18:34:03Z","body":"LGTM"}}