{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1159","repository_url":"https://api.github.com/repos/checkstyle/checkstyle","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1159/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1159/events","html_url":"https://github.com/checkstyle/checkstyle/issues/1159","id":83151815,"number":1159,"title":"PMD ExceptionAsFlowControl: Do not use exceptions as flow control to create objects in PackageObjectFactory","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/approved","name":"approved","color":"009800"},{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/miscellaneous","name":"miscellaneous","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"Vladlis","id":9678372,"avatar_url":"https://avatars.githubusercontent.com/u/9678372?v=3","gravatar_id":"","url":"https://api.github.com/users/Vladlis","html_url":"https://github.com/Vladlis","followers_url":"https://api.github.com/users/Vladlis/followers","following_url":"https://api.github.com/users/Vladlis/following{/other_user}","gists_url":"https://api.github.com/users/Vladlis/gists{/gist_id}","starred_url":"https://api.github.com/users/Vladlis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vladlis/subscriptions","organizations_url":"https://api.github.com/users/Vladlis/orgs","repos_url":"https://api.github.com/users/Vladlis/repos","events_url":"https://api.github.com/users/Vladlis/events{/privacy}","received_events_url":"https://api.github.com/users/Vladlis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/checkstyle/checkstyle/milestones/15","html_url":"https://github.com/checkstyle/checkstyle/milestones/6.16","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/milestones/15/labels","id":1553930,"number":15,"title":"6.16","description":"","creator":{"login":"romani","id":812984,"avatar_url":"https://avatars.githubusercontent.com/u/812984?v=3","gravatar_id":"","url":"https://api.github.com/users/romani","html_url":"https://github.com/romani","followers_url":"https://api.github.com/users/romani/followers","following_url":"https://api.github.com/users/romani/following{/other_user}","gists_url":"https://api.github.com/users/romani/gists{/gist_id}","starred_url":"https://api.github.com/users/romani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romani/subscriptions","organizations_url":"https://api.github.com/users/romani/orgs","repos_url":"https://api.github.com/users/romani/repos","events_url":"https://api.github.com/users/romani/events{/privacy}","received_events_url":"https://api.github.com/users/romani/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":22,"state":"open","created_at":"2016-01-31T15:33:20Z","updated_at":"2016-02-16T14:32:58Z","due_on":"2016-02-28T08:00:00Z","closed_at":null},"comments":6,"created_at":"2015-05-31T18:16:39Z","updated_at":"2016-02-16T14:32:58Z","closed_at":"2016-02-16T14:32:58Z","body":"To instantiate each module in Checkstyle multiple exceptions are thrown:\r\n* https://github.com/checkstyle/checkstyle/blob/master/src/main/java/com/puppycrawl/tools/checkstyle/PackageObjectFactory.java#L90\r\n* https://github.com/checkstyle/checkstyle/blob/master/src/main/java/com/puppycrawl/tools/checkstyle/PackageObjectFactory.java#L142\r\n\r\nThis should be refactored to not use exceptions."},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/184702494","html_url":"https://github.com/checkstyle/checkstyle/issues/1159#issuecomment-184702494","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1159","id":184702494,"user":{"login":"romani","id":812984,"avatar_url":"https://avatars.githubusercontent.com/u/812984?v=3","gravatar_id":"","url":"https://api.github.com/users/romani","html_url":"https://github.com/romani","followers_url":"https://api.github.com/users/romani/followers","following_url":"https://api.github.com/users/romani/following{/other_user}","gists_url":"https://api.github.com/users/romani/gists{/gist_id}","starred_url":"https://api.github.com/users/romani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romani/subscriptions","organizations_url":"https://api.github.com/users/romani/orgs","repos_url":"https://api.github.com/users/romani/repos","events_url":"https://api.github.com/users/romani/events{/privacy}","received_events_url":"https://api.github.com/users/romani/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T14:32:58Z","updated_at":"2016-02-16T14:32:58Z","body":"fix is merged."}}