{"action":"closed","issue":{"url":"https://api.github.com/repos/pomeryt/MyObjects/issues/1","repository_url":"https://api.github.com/repos/pomeryt/MyObjects","labels_url":"https://api.github.com/repos/pomeryt/MyObjects/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pomeryt/MyObjects/issues/1/comments","events_url":"https://api.github.com/repos/pomeryt/MyObjects/issues/1/events","html_url":"https://github.com/pomeryt/MyObjects/issues/1","id":330939316,"node_id":"MDU6SXNzdWUzMzA5MzkzMTY=","number":1,"title":"Inform invalid key when using FormalMap.","user":{"login":"pomeryt","id":23709998,"node_id":"MDQ6VXNlcjIzNzA5OTk4","avatar_url":"https://avatars2.githubusercontent.com/u/23709998?v=4","gravatar_id":"","url":"https://api.github.com/users/pomeryt","html_url":"https://github.com/pomeryt","followers_url":"https://api.github.com/users/pomeryt/followers","following_url":"https://api.github.com/users/pomeryt/following{/other_user}","gists_url":"https://api.github.com/users/pomeryt/gists{/gist_id}","starred_url":"https://api.github.com/users/pomeryt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pomeryt/subscriptions","organizations_url":"https://api.github.com/users/pomeryt/orgs","repos_url":"https://api.github.com/users/pomeryt/repos","events_url":"https://api.github.com/users/pomeryt/events{/privacy}","received_events_url":"https://api.github.com/users/pomeryt/received_events","type":"User","site_admin":false},"labels":[{"id":845043999,"node_id":"MDU6TGFiZWw4NDUwNDM5OTk=","url":"https://api.github.com/repos/pomeryt/MyObjects/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"pomeryt","id":23709998,"node_id":"MDQ6VXNlcjIzNzA5OTk4","avatar_url":"https://avatars2.githubusercontent.com/u/23709998?v=4","gravatar_id":"","url":"https://api.github.com/users/pomeryt","html_url":"https://github.com/pomeryt","followers_url":"https://api.github.com/users/pomeryt/followers","following_url":"https://api.github.com/users/pomeryt/following{/other_user}","gists_url":"https://api.github.com/users/pomeryt/gists{/gist_id}","starred_url":"https://api.github.com/users/pomeryt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pomeryt/subscriptions","organizations_url":"https://api.github.com/users/pomeryt/orgs","repos_url":"https://api.github.com/users/pomeryt/repos","events_url":"https://api.github.com/users/pomeryt/events{/privacy}","received_events_url":"https://api.github.com/users/pomeryt/received_events","type":"User","site_admin":false},"assignees":[{"login":"pomeryt","id":23709998,"node_id":"MDQ6VXNlcjIzNzA5OTk4","avatar_url":"https://avatars2.githubusercontent.com/u/23709998?v=4","gravatar_id":"","url":"https://api.github.com/users/pomeryt","html_url":"https://github.com/pomeryt","followers_url":"https://api.github.com/users/pomeryt/followers","following_url":"https://api.github.com/users/pomeryt/following{/other_user}","gists_url":"https://api.github.com/users/pomeryt/gists{/gist_id}","starred_url":"https://api.github.com/users/pomeryt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pomeryt/subscriptions","organizations_url":"https://api.github.com/users/pomeryt/orgs","repos_url":"https://api.github.com/users/pomeryt/repos","events_url":"https://api.github.com/users/pomeryt/events{/privacy}","received_events_url":"https://api.github.com/users/pomeryt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-10T04:25:44Z","updated_at":"2018-06-10T04:28:58Z","closed_at":"2018-06-10T04:28:58Z","author_association":"OWNER","body":"## Background\r\nFormalMap will throw RuntimeException when the key is invalid.\r\n\r\n## Problem\r\nThe error message simply says the key is valid.\r\nI want to know exactly what key is invalid.\r\n\r\n## Solution\r\nInclude invalid key in the error message.\r\nFor example,\r\n<pre>\r\nfinal FormalMap&lt;String, String&gt; map = new FormalMap&lt;&gt;();\r\nmap.update(\"One\", \"Apple\");\r\n</pre>\r\nShould produce an error message saying like \"The key 'One' has not been registered.\"\r\nInstead of just saying \"The key has not been registered.\"\r\n"}}
{"actor":{"display_login":"pomeryt"}}