{"action":"created","comment":{"url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/comments/98896352","pull_request_review_id":19552349,"id":98896352,"diff_hunk":"@@ -27,17 +29,19 @@ private void saveToFile() {\n         try (ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(databaseFile))) {\n             oos.writeObject(database);\n         } catch (IOException e) {\n-            log.error(\"Error while attempting to write to database file\", e);\n-            //FIXME: rethrow to console.\n+            String message = \"Error while attempting to read from database file\";\n+            log.error(message, e);\n+            throw new DbFileWriteException(message, e);\n         }\n     }\n \n     private void readFromFile() {\n         try (ObjectInputStream ois = new ObjectInputStream(new FileInputStream(databaseFile))) {\n             database = (List<T>) ois.readObject();\n         } catch (IOException | ClassNotFoundException e) {\n-            log.error(\"Error while attempting to read from database file\", e);\n-            //FIXME: rethrow to console.\n+            String message = \"Error while attempting to read from database file\";\n+            log.error(message, e);","path":"src/main/java/com/manardenza/dao/AbstractDao.java","position":28,"original_position":28,"commit_id":"bb453f859575b36cce54052ce002e0dd09385fe8","original_commit_id":"bb453f859575b36cce54052ce002e0dd09385fe8","user":{"login":"zozich","id":10760192,"avatar_url":"https://avatars.githubusercontent.com/u/10760192?v=3","gravatar_id":"","url":"https://api.github.com/users/zozich","html_url":"https://github.com/zozich","followers_url":"https://api.github.com/users/zozich/followers","following_url":"https://api.github.com/users/zozich/following{/other_user}","gists_url":"https://api.github.com/users/zozich/gists{/gist_id}","starred_url":"https://api.github.com/users/zozich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozich/subscriptions","organizations_url":"https://api.github.com/users/zozich/orgs","repos_url":"https://api.github.com/users/zozich/repos","events_url":"https://api.github.com/users/zozich/events{/privacy}","received_events_url":"https://api.github.com/users/zozich/received_events","type":"User","site_admin":false},"body":"Same","created_at":"2017-02-01T13:51:31Z","updated_at":"2017-02-01T13:52:21Z","html_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6/pull/33#discussion_r98896352","pull_request_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/comments/98896352"},"html":{"href":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6/pull/33#discussion_r98896352"},"pull_request":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33","id":104139270,"html_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6/pull/33","diff_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6/pull/33.diff","patch_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6/pull/33.patch","issue_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/33","number":33,"state":"open","locked":false,"title":"[#38] Implement exception handling","user":{"login":"Sheptytskyid","id":22986777,"avatar_url":"https://avatars.githubusercontent.com/u/22986777?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheptytskyid","html_url":"https://github.com/Sheptytskyid","followers_url":"https://api.github.com/users/Sheptytskyid/followers","following_url":"https://api.github.com/users/Sheptytskyid/following{/other_user}","gists_url":"https://api.github.com/users/Sheptytskyid/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheptytskyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheptytskyid/subscriptions","organizations_url":"https://api.github.com/users/Sheptytskyid/orgs","repos_url":"https://api.github.com/users/Sheptytskyid/repos","events_url":"https://api.github.com/users/Sheptytskyid/events{/privacy}","received_events_url":"https://api.github.com/users/Sheptytskyid/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-01T13:49:37Z","updated_at":"2017-02-01T13:52:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e775a5e50aa7db605206420fff9bfb5b864c022","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33/commits","review_comments_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33/comments","review_comment_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/33/comments","statuses_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/statuses/bb453f859575b36cce54052ce002e0dd09385fe8","head":{"label":"Sheptytskyid:exceptions","ref":"exceptions","sha":"bb453f859575b36cce54052ce002e0dd09385fe8","user":{"login":"Sheptytskyid","id":22986777,"avatar_url":"https://avatars.githubusercontent.com/u/22986777?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheptytskyid","html_url":"https://github.com/Sheptytskyid","followers_url":"https://api.github.com/users/Sheptytskyid/followers","following_url":"https://api.github.com/users/Sheptytskyid/following{/other_user}","gists_url":"https://api.github.com/users/Sheptytskyid/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheptytskyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheptytskyid/subscriptions","organizations_url":"https://api.github.com/users/Sheptytskyid/orgs","repos_url":"https://api.github.com/users/Sheptytskyid/repos","events_url":"https://api.github.com/users/Sheptytskyid/events{/privacy}","received_events_url":"https://api.github.com/users/Sheptytskyid/received_events","type":"User","site_admin":false},"repo":{"id":79457695,"name":"JavaCoreFinalProjectGroup6","full_name":"Sheptytskyid/JavaCoreFinalProjectGroup6","owner":{"login":"Sheptytskyid","id":22986777,"avatar_url":"https://avatars.githubusercontent.com/u/22986777?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheptytskyid","html_url":"https://github.com/Sheptytskyid","followers_url":"https://api.github.com/users/Sheptytskyid/followers","following_url":"https://api.github.com/users/Sheptytskyid/following{/other_user}","gists_url":"https://api.github.com/users/Sheptytskyid/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheptytskyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheptytskyid/subscriptions","organizations_url":"https://api.github.com/users/Sheptytskyid/orgs","repos_url":"https://api.github.com/users/Sheptytskyid/repos","events_url":"https://api.github.com/users/Sheptytskyid/events{/privacy}","received_events_url":"https://api.github.com/users/Sheptytskyid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6","description":"GoJava 5 core final project of group 6","fork":false,"url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6","forks_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/forks","keys_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/teams","hooks_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/hooks","issue_events_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/events{/number}","events_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/events","assignees_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/assignees{/user}","branches_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/branches{/branch}","tags_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/tags","blobs_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/statuses/{sha}","languages_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/languages","stargazers_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/stargazers","contributors_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/contributors","subscribers_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/subscribers","subscription_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/subscription","commits_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/contents/{+path}","compare_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/merges","archive_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/downloads","issues_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues{/number}","pulls_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls{/number}","milestones_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/milestones{/number}","notifications_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/labels{/name}","releases_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/releases{/id}","deployments_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/deployments","created_at":"2017-01-19T13:49:23Z","updated_at":"2017-01-21T14:56:37Z","pushed_at":"2017-02-01T13:51:58Z","git_url":"git://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6.git","ssh_url":"git@github.com:Sheptytskyid/JavaCoreFinalProjectGroup6.git","clone_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6.git","svn_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6","homepage":null,"size":124,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Sheptytskyid:master","ref":"master","sha":"3155eed60618cec99f458fdd667905942e9c3266","user":{"login":"Sheptytskyid","id":22986777,"avatar_url":"https://avatars.githubusercontent.com/u/22986777?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheptytskyid","html_url":"https://github.com/Sheptytskyid","followers_url":"https://api.github.com/users/Sheptytskyid/followers","following_url":"https://api.github.com/users/Sheptytskyid/following{/other_user}","gists_url":"https://api.github.com/users/Sheptytskyid/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheptytskyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheptytskyid/subscriptions","organizations_url":"https://api.github.com/users/Sheptytskyid/orgs","repos_url":"https://api.github.com/users/Sheptytskyid/repos","events_url":"https://api.github.com/users/Sheptytskyid/events{/privacy}","received_events_url":"https://api.github.com/users/Sheptytskyid/received_events","type":"User","site_admin":false},"repo":{"id":79457695,"name":"JavaCoreFinalProjectGroup6","full_name":"Sheptytskyid/JavaCoreFinalProjectGroup6","owner":{"login":"Sheptytskyid","id":22986777,"avatar_url":"https://avatars.githubusercontent.com/u/22986777?v=3","gravatar_id":"","url":"https://api.github.com/users/Sheptytskyid","html_url":"https://github.com/Sheptytskyid","followers_url":"https://api.github.com/users/Sheptytskyid/followers","following_url":"https://api.github.com/users/Sheptytskyid/following{/other_user}","gists_url":"https://api.github.com/users/Sheptytskyid/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheptytskyid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheptytskyid/subscriptions","organizations_url":"https://api.github.com/users/Sheptytskyid/orgs","repos_url":"https://api.github.com/users/Sheptytskyid/repos","events_url":"https://api.github.com/users/Sheptytskyid/events{/privacy}","received_events_url":"https://api.github.com/users/Sheptytskyid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6","description":"GoJava 5 core final project of group 6","fork":false,"url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6","forks_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/forks","keys_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/teams","hooks_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/hooks","issue_events_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/events{/number}","events_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/events","assignees_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/assignees{/user}","branches_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/branches{/branch}","tags_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/tags","blobs_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/statuses/{sha}","languages_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/languages","stargazers_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/stargazers","contributors_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/contributors","subscribers_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/subscribers","subscription_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/subscription","commits_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/contents/{+path}","compare_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/merges","archive_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/downloads","issues_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues{/number}","pulls_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls{/number}","milestones_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/milestones{/number}","notifications_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/labels{/name}","releases_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/releases{/id}","deployments_url":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/deployments","created_at":"2017-01-19T13:49:23Z","updated_at":"2017-01-21T14:56:37Z","pushed_at":"2017-02-01T13:51:58Z","git_url":"git://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6.git","ssh_url":"git@github.com:Sheptytskyid/JavaCoreFinalProjectGroup6.git","clone_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6.git","svn_url":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6","homepage":null,"size":124,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33"},"html":{"href":"https://github.com/Sheptytskyid/JavaCoreFinalProjectGroup6/pull/33"},"issue":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/33"},"comments":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/Sheptytskyid/JavaCoreFinalProjectGroup6/statuses/bb453f859575b36cce54052ce002e0dd09385fe8"}}}}
{"actor":{"display_login":"zozich"}}