{"action":"created","comment":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments/96517066","pull_request_review_id":17100951,"id":96517066,"diff_hunk":"@@ -0,0 +1,101 @@\n+/*\n+ * Minecraft Forge\n+ * Copyright (c) 2016.\n+ *\n+ * This library is free software; you can redistribute it and/or\n+ * modify it under the terms of the GNU Lesser General Public\n+ * License as published by the Free Software Foundation version 2.1\n+ * of the License.\n+ *\n+ * This library is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+ * Lesser General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Lesser General Public\n+ * License along with this library; if not, write to the Free Software\n+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\n+ */\n+\n+package net.minecraftforge.fml.client;\n+\n+import net.minecraft.client.gui.GuiButton;\n+import net.minecraft.client.gui.ScaledResolution;\n+import net.minecraft.client.resources.I18n;\n+import net.minecraftforge.fml.common.*;\n+\n+import java.util.List;\n+\n+public class GuiMultipleModsErrored extends GuiErrorBase\n+{\n+    private final List<RuntimeException> exceptions;\n+    private int pageIndex;\n+    private GuiErrorBase subGui;\n+\n+    public GuiMultipleModsErrored(MultipleModsErrored exception)\n+    {\n+        super();\n+        this.exceptions = exception.exceptions;\n+    }\n+\n+    private void switchSubGui()\n+    {\n+        RuntimeException exception = exceptions.get(pageIndex);\n+        if (exception instanceof WrongMinecraftVersionException)\n+        {\n+            subGui = new GuiWrongMinecraft((WrongMinecraftVersionException) exception);\n+        }\n+        else if (exception instanceof MissingModsException)\n+        {\n+            subGui = new GuiModsMissing((MissingModsException) exception);\n+        }","path":"src/main/java/net/minecraftforge/fml/client/GuiMultipleModsErrored.java","position":51,"original_position":51,"commit_id":"069a6e65de11158014a827cc458646feaa37dfe4","original_commit_id":"069a6e65de11158014a827cc458646feaa37dfe4","user":{"login":"LexManos","id":702211,"avatar_url":"https://avatars.githubusercontent.com/u/702211?v=3","gravatar_id":"","url":"https://api.github.com/users/LexManos","html_url":"https://github.com/LexManos","followers_url":"https://api.github.com/users/LexManos/followers","following_url":"https://api.github.com/users/LexManos/following{/other_user}","gists_url":"https://api.github.com/users/LexManos/gists{/gist_id}","starred_url":"https://api.github.com/users/LexManos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexManos/subscriptions","organizations_url":"https://api.github.com/users/LexManos/orgs","repos_url":"https://api.github.com/users/LexManos/repos","events_url":"https://api.github.com/users/LexManos/events{/privacy}","received_events_url":"https://api.github.com/users/LexManos/received_events","type":"User","site_admin":false},"body":"Why make these different 'pages', why not just make a scroll window and list all of them at once, this would be better.","created_at":"2017-01-17T21:39:52Z","updated_at":"2017-01-17T21:39:52Z","html_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3636#discussion_r96517066","pull_request_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636","_links":{"self":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments/96517066"},"html":{"href":"https://github.com/MinecraftForge/MinecraftForge/pull/3636#discussion_r96517066"},"pull_request":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636"}}},"pull_request":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636","id":101916914,"html_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3636","diff_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3636.diff","patch_url":"https://github.com/MinecraftForge/MinecraftForge/pull/3636.patch","issue_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3636","number":3636,"state":"open","locked":false,"title":"Improve exception messages during construction, closes #3631","user":{"login":"ichttt","id":20151702,"avatar_url":"https://avatars.githubusercontent.com/u/20151702?v=3","gravatar_id":"","url":"https://api.github.com/users/ichttt","html_url":"https://github.com/ichttt","followers_url":"https://api.github.com/users/ichttt/followers","following_url":"https://api.github.com/users/ichttt/following{/other_user}","gists_url":"https://api.github.com/users/ichttt/gists{/gist_id}","starred_url":"https://api.github.com/users/ichttt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichttt/subscriptions","organizations_url":"https://api.github.com/users/ichttt/orgs","repos_url":"https://api.github.com/users/ichttt/repos","events_url":"https://api.github.com/users/ichttt/events{/privacy}","received_events_url":"https://api.github.com/users/ichttt/received_events","type":"User","site_admin":false},"body":"This PR adds the open mods folder and show log button to all exceptions.\r\nIt also adds support for showing all WrongMinecraftVersion and MissingModsException at once.\r\n![multipleexceptions](https://cloud.githubusercontent.com/assets/20151702/22033323/620f3e3e-dce8-11e6-9ee8-93fac8c2a9f1.JPG)\r\n","created_at":"2017-01-17T18:09:23Z","updated_at":"2017-01-17T21:39:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3b0ae917cb9d12f51749d73e93032c50957ef1c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636/commits","review_comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636/comments","review_comment_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3636/comments","statuses_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/069a6e65de11158014a827cc458646feaa37dfe4","head":{"label":"ichttt:master","ref":"master","sha":"069a6e65de11158014a827cc458646feaa37dfe4","user":{"login":"ichttt","id":20151702,"avatar_url":"https://avatars.githubusercontent.com/u/20151702?v=3","gravatar_id":"","url":"https://api.github.com/users/ichttt","html_url":"https://github.com/ichttt","followers_url":"https://api.github.com/users/ichttt/followers","following_url":"https://api.github.com/users/ichttt/following{/other_user}","gists_url":"https://api.github.com/users/ichttt/gists{/gist_id}","starred_url":"https://api.github.com/users/ichttt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichttt/subscriptions","organizations_url":"https://api.github.com/users/ichttt/orgs","repos_url":"https://api.github.com/users/ichttt/repos","events_url":"https://api.github.com/users/ichttt/events{/privacy}","received_events_url":"https://api.github.com/users/ichttt/received_events","type":"User","site_admin":false},"repo":{"id":79149240,"name":"MinecraftForge","full_name":"ichttt/MinecraftForge","owner":{"login":"ichttt","id":20151702,"avatar_url":"https://avatars.githubusercontent.com/u/20151702?v=3","gravatar_id":"","url":"https://api.github.com/users/ichttt","html_url":"https://github.com/ichttt","followers_url":"https://api.github.com/users/ichttt/followers","following_url":"https://api.github.com/users/ichttt/following{/other_user}","gists_url":"https://api.github.com/users/ichttt/gists{/gist_id}","starred_url":"https://api.github.com/users/ichttt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichttt/subscriptions","organizations_url":"https://api.github.com/users/ichttt/orgs","repos_url":"https://api.github.com/users/ichttt/repos","events_url":"https://api.github.com/users/ichttt/events{/privacy}","received_events_url":"https://api.github.com/users/ichttt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ichttt/MinecraftForge","description":"Modifications to the Minecraft base files to assist in compatibility between mods.","fork":true,"url":"https://api.github.com/repos/ichttt/MinecraftForge","forks_url":"https://api.github.com/repos/ichttt/MinecraftForge/forks","keys_url":"https://api.github.com/repos/ichttt/MinecraftForge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ichttt/MinecraftForge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ichttt/MinecraftForge/teams","hooks_url":"https://api.github.com/repos/ichttt/MinecraftForge/hooks","issue_events_url":"https://api.github.com/repos/ichttt/MinecraftForge/issues/events{/number}","events_url":"https://api.github.com/repos/ichttt/MinecraftForge/events","assignees_url":"https://api.github.com/repos/ichttt/MinecraftForge/assignees{/user}","branches_url":"https://api.github.com/repos/ichttt/MinecraftForge/branches{/branch}","tags_url":"https://api.github.com/repos/ichttt/MinecraftForge/tags","blobs_url":"https://api.github.com/repos/ichttt/MinecraftForge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ichttt/MinecraftForge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ichttt/MinecraftForge/git/refs{/sha}","trees_url":"https://api.github.com/repos/ichttt/MinecraftForge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ichttt/MinecraftForge/statuses/{sha}","languages_url":"https://api.github.com/repos/ichttt/MinecraftForge/languages","stargazers_url":"https://api.github.com/repos/ichttt/MinecraftForge/stargazers","contributors_url":"https://api.github.com/repos/ichttt/MinecraftForge/contributors","subscribers_url":"https://api.github.com/repos/ichttt/MinecraftForge/subscribers","subscription_url":"https://api.github.com/repos/ichttt/MinecraftForge/subscription","commits_url":"https://api.github.com/repos/ichttt/MinecraftForge/commits{/sha}","git_commits_url":"https://api.github.com/repos/ichttt/MinecraftForge/git/commits{/sha}","comments_url":"https://api.github.com/repos/ichttt/MinecraftForge/comments{/number}","issue_comment_url":"https://api.github.com/repos/ichttt/MinecraftForge/issues/comments{/number}","contents_url":"https://api.github.com/repos/ichttt/MinecraftForge/contents/{+path}","compare_url":"https://api.github.com/repos/ichttt/MinecraftForge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ichttt/MinecraftForge/merges","archive_url":"https://api.github.com/repos/ichttt/MinecraftForge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ichttt/MinecraftForge/downloads","issues_url":"https://api.github.com/repos/ichttt/MinecraftForge/issues{/number}","pulls_url":"https://api.github.com/repos/ichttt/MinecraftForge/pulls{/number}","milestones_url":"https://api.github.com/repos/ichttt/MinecraftForge/milestones{/number}","notifications_url":"https://api.github.com/repos/ichttt/MinecraftForge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ichttt/MinecraftForge/labels{/name}","releases_url":"https://api.github.com/repos/ichttt/MinecraftForge/releases{/id}","deployments_url":"https://api.github.com/repos/ichttt/MinecraftForge/deployments","created_at":"2017-01-16T18:57:57Z","updated_at":"2017-01-16T18:58:03Z","pushed_at":"2017-01-17T18:05:01Z","git_url":"git://github.com/ichttt/MinecraftForge.git","ssh_url":"git@github.com:ichttt/MinecraftForge.git","clone_url":"https://github.com/ichttt/MinecraftForge.git","svn_url":"https://github.com/ichttt/MinecraftForge","homepage":"","size":88587,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.11.x"}},"base":{"label":"MinecraftForge:1.11.x","ref":"1.11.x","sha":"926472b359d4243d6efccf4c49fc529b5ee9506e","user":{"login":"MinecraftForge","id":1390178,"avatar_url":"https://avatars.githubusercontent.com/u/1390178?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecraftForge","html_url":"https://github.com/MinecraftForge","followers_url":"https://api.github.com/users/MinecraftForge/followers","following_url":"https://api.github.com/users/MinecraftForge/following{/other_user}","gists_url":"https://api.github.com/users/MinecraftForge/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecraftForge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecraftForge/subscriptions","organizations_url":"https://api.github.com/users/MinecraftForge/orgs","repos_url":"https://api.github.com/users/MinecraftForge/repos","events_url":"https://api.github.com/users/MinecraftForge/events{/privacy}","received_events_url":"https://api.github.com/users/MinecraftForge/received_events","type":"Organization","site_admin":false},"repo":{"id":3301400,"name":"MinecraftForge","full_name":"MinecraftForge/MinecraftForge","owner":{"login":"MinecraftForge","id":1390178,"avatar_url":"https://avatars.githubusercontent.com/u/1390178?v=3","gravatar_id":"","url":"https://api.github.com/users/MinecraftForge","html_url":"https://github.com/MinecraftForge","followers_url":"https://api.github.com/users/MinecraftForge/followers","following_url":"https://api.github.com/users/MinecraftForge/following{/other_user}","gists_url":"https://api.github.com/users/MinecraftForge/gists{/gist_id}","starred_url":"https://api.github.com/users/MinecraftForge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinecraftForge/subscriptions","organizations_url":"https://api.github.com/users/MinecraftForge/orgs","repos_url":"https://api.github.com/users/MinecraftForge/repos","events_url":"https://api.github.com/users/MinecraftForge/events{/privacy}","received_events_url":"https://api.github.com/users/MinecraftForge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinecraftForge/MinecraftForge","description":"Modifications to the Minecraft base files to assist in compatibility between mods.","fork":false,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge","forks_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/forks","keys_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/teams","hooks_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/hooks","issue_events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/events{/number}","events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/events","assignees_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/assignees{/user}","branches_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/branches{/branch}","tags_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/tags","blobs_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/{sha}","languages_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/languages","stargazers_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/stargazers","contributors_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/contributors","subscribers_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/subscribers","subscription_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/subscription","commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/contents/{+path}","compare_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/merges","archive_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/downloads","issues_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues{/number}","pulls_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls{/number}","milestones_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/milestones{/number}","notifications_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/labels{/name}","releases_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/releases{/id}","deployments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/deployments","created_at":"2012-01-30T01:35:01Z","updated_at":"2017-01-14T14:51:33Z","pushed_at":"2017-01-17T21:34:08Z","git_url":"git://github.com/MinecraftForge/MinecraftForge.git","ssh_url":"git@github.com:MinecraftForge/MinecraftForge.git","clone_url":"https://github.com/MinecraftForge/MinecraftForge.git","svn_url":"https://github.com/MinecraftForge/MinecraftForge","homepage":"","size":88544,"stargazers_count":1686,"watchers_count":1686,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":853,"mirror_url":null,"open_issues_count":243,"forks":853,"open_issues":243,"watchers":1686,"default_branch":"1.11.x"}},"_links":{"self":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636"},"html":{"href":"https://github.com/MinecraftForge/MinecraftForge/pull/3636"},"issue":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3636"},"comments":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/3636/comments"},"review_comments":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636/comments"},"review_comment":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/pulls/3636/commits"},"statuses":{"href":"https://api.github.com/repos/MinecraftForge/MinecraftForge/statuses/069a6e65de11158014a827cc458646feaa37dfe4"}}}}
{"actor":{"display_login":"LexManos"}}