{"action":"created","issue":{"url":"https://api.github.com/repos/micro-manager/micro-manager/issues/192","repository_url":"https://api.github.com/repos/micro-manager/micro-manager","labels_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/192/comments","events_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/192/events","html_url":"https://github.com/micro-manager/micro-manager/issues/192","id":133100731,"number":192,"title":"mm2: AutofocusManager is an internal structure, yet exposed in the api","user":{"login":"nicost","id":2153771,"avatar_url":"https://avatars.githubusercontent.com/u/2153771?v=3","gravatar_id":"","url":"https://api.github.com/users/nicost","html_url":"https://github.com/nicost","followers_url":"https://api.github.com/users/nicost/followers","following_url":"https://api.github.com/users/nicost/following{/other_user}","gists_url":"https://api.github.com/users/nicost/gists{/gist_id}","starred_url":"https://api.github.com/users/nicost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicost/subscriptions","organizations_url":"https://api.github.com/users/nicost/orgs","repos_url":"https://api.github.com/users/nicost/repos","events_url":"https://api.github.com/users/nicost/events{/privacy}","received_events_url":"https://api.github.com/users/nicost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-11T22:08:55Z","updated_at":"2016-02-11T22:59:20Z","closed_at":null,"body":"AutofocusManager is currently in org.micromanager.internal.utils, yet it is accessible through the mm.getAutofocusManager() function and itself refers to autofocus devices in org.micromanager.AutofocusPlugin, so it makes a lot of sense to move it to an \"external\" package.  A problem is that it throws MMException (which is in the same internal package).  I do think that there is a more general need for an \"external\" MMException class."},"comment":{"url":"https://api.github.com/repos/micro-manager/micro-manager/issues/comments/183092949","html_url":"https://github.com/micro-manager/micro-manager/issues/192#issuecomment-183092949","issue_url":"https://api.github.com/repos/micro-manager/micro-manager/issues/192","id":183092949,"user":{"login":"nicost","id":2153771,"avatar_url":"https://avatars.githubusercontent.com/u/2153771?v=3","gravatar_id":"","url":"https://api.github.com/users/nicost","html_url":"https://github.com/nicost","followers_url":"https://api.github.com/users/nicost/followers","following_url":"https://api.github.com/users/nicost/following{/other_user}","gists_url":"https://api.github.com/users/nicost/gists{/gist_id}","starred_url":"https://api.github.com/users/nicost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicost/subscriptions","organizations_url":"https://api.github.com/users/nicost/orgs","repos_url":"https://api.github.com/users/nicost/repos","events_url":"https://api.github.com/users/nicost/events{/privacy}","received_events_url":"https://api.github.com/users/nicost/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T22:59:20Z","updated_at":"2016-02-11T22:59:20Z","body":"OK, but what about AutofocusManager being internal?  That is the first and main problem.  Any solution to the Exception problem is fine (and I do not mind general exceptions with text messages only, as long as they can be caught and shown to the user)."}}