{"action":"created","issue":{"url":"https://api.github.com/repos/chochos/j8583/issues/74","repository_url":"https://api.github.com/repos/chochos/j8583","labels_url":"https://api.github.com/repos/chochos/j8583/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/chochos/j8583/issues/74/comments","events_url":"https://api.github.com/repos/chochos/j8583/issues/74/events","html_url":"https://github.com/chochos/j8583/issues/74","id":161181622,"number":74,"title":"CustomField interface exception","user":{"login":"akotulu","id":1204475,"avatar_url":"https://avatars.githubusercontent.com/u/1204475?v=3","gravatar_id":"","url":"https://api.github.com/users/akotulu","html_url":"https://github.com/akotulu","followers_url":"https://api.github.com/users/akotulu/followers","following_url":"https://api.github.com/users/akotulu/following{/other_user}","gists_url":"https://api.github.com/users/akotulu/gists{/gist_id}","starred_url":"https://api.github.com/users/akotulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akotulu/subscriptions","organizations_url":"https://api.github.com/users/akotulu/orgs","repos_url":"https://api.github.com/users/akotulu/repos","events_url":"https://api.github.com/users/akotulu/events{/privacy}","received_events_url":"https://api.github.com/users/akotulu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-20T12:15:51Z","updated_at":"2016-10-14T20:39:45Z","closed_at":null,"body":"Currently CustomField parsing and encoding cannot throw exceptions which is a requirement for a banking solution I'm developing. \r\n\r\n```java\r\npublic interface CustomField<T> \r\n{\r\n        public T decodeField(String value) throws ParseException;\r\n\r\n        public String encodeField(T value) throws IllegalArgumentException;\r\n}\r\n```\r\nHere is how I see CustomField interface, I can throw exception when some TAG or length is invalid when parsing field.\r\n\r\nI'm dealing with TAGLLL...999 field, so its uncommon, but as is for every ISO where you can use your own imagination how to store data."},"comment":{"url":"https://api.github.com/repos/chochos/j8583/issues/comments/253913497","html_url":"https://github.com/chochos/j8583/issues/74#issuecomment-253913497","issue_url":"https://api.github.com/repos/chochos/j8583/issues/74","id":253913497,"user":{"login":"chochos","id":17679,"avatar_url":"https://avatars.githubusercontent.com/u/17679?v=3","gravatar_id":"","url":"https://api.github.com/users/chochos","html_url":"https://github.com/chochos","followers_url":"https://api.github.com/users/chochos/followers","following_url":"https://api.github.com/users/chochos/following{/other_user}","gists_url":"https://api.github.com/users/chochos/gists{/gist_id}","starred_url":"https://api.github.com/users/chochos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chochos/subscriptions","organizations_url":"https://api.github.com/users/chochos/orgs","repos_url":"https://api.github.com/users/chochos/repos","events_url":"https://api.github.com/users/chochos/events{/privacy}","received_events_url":"https://api.github.com/users/chochos/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T20:39:44Z","updated_at":"2016-10-14T20:39:44Z","body":"You don't have to declare `throws` with a `RuntimeException`, so the only problem would be the `ParseException`, which I honestly don't know why they made it a checked exception."}}
{"actor":{"display_login":"chochos"}}