{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-java/issues/66","repository_url":"https://api.github.com/repos/mapbox/mapbox-java","labels_url":"https://api.github.com/repos/mapbox/mapbox-java/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-java/issues/66/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-java/issues/66/events","html_url":"https://github.com/mapbox/mapbox-java/issues/66","id":155807720,"number":66,"title":"libjava - make SeviceException an unchecked exception","user":{"login":"ivovandongen","id":64527,"avatar_url":"https://avatars.githubusercontent.com/u/64527?v=3","gravatar_id":"","url":"https://api.github.com/users/ivovandongen","html_url":"https://github.com/ivovandongen","followers_url":"https://api.github.com/users/ivovandongen/followers","following_url":"https://api.github.com/users/ivovandongen/following{/other_user}","gists_url":"https://api.github.com/users/ivovandongen/gists{/gist_id}","starred_url":"https://api.github.com/users/ivovandongen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivovandongen/subscriptions","organizations_url":"https://api.github.com/users/ivovandongen/orgs","repos_url":"https://api.github.com/users/ivovandongen/repos","events_url":"https://api.github.com/users/ivovandongen/events{/privacy}","received_events_url":"https://api.github.com/users/ivovandongen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-java/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/mapbox/mapbox-java/labels/libjava","name":"libjava","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T18:47:34Z","updated_at":"2016-05-19T18:47:34Z","closed_at":null,"body":"As the current validations that throw the Service Exception are mostly programming errors, it makes sense to make ServiceException an unchecked exception to avoid unneeded boilerplate in the consuming code.\r\n\r\nOne exception (no pun intended to this) is the the image size validation as these could potentially be more data driven. Although not checking for 0/negative integers on the caller side might as well be considered a programming error."}}