{"action":"created","comment":{"url":"https://api.github.com/repos/aces/Loris/pulls/comments/84372235","pull_request_review_id":5155356,"id":84372235,"diff_hunk":"@@ -0,0 +1,28 @@\n+<?php\n+/**\n+ * This class is an Exception extension created to distinguish any\n+ * Exception from the case when a module can't be loaded because it is an instrument\n+ *\n+ * PHP Version 5\n+ *\n+ * @category Errors\n+ * @package  Loris\n+ * @author   Rida Abou-Haidar <rida.loris@gmail.com>\n+ * @license  http://www.gnu.org/licenses/gpl-3.0.txt GPLv3\n+ * @link     https://github.com/aces/Loris\n+ */\n+\n+/**\n+ * The LorisNotModuleException class.\n+ *\n+ * @category Errors\n+ * @package  Loris\n+ * @author   Rida Abou-Haidar <rida.loris@gmail.com>\n+ * @license  http://www.gnu.org/licenses/gpl-3.0.txt GPLv3\n+ * @link     https://github.com/aces/Loris\n+ */\n+\n+class LorisNotModuleException extends LorisException","path":"php/exceptions/LorisNotModuleException.class.inc","position":25,"original_position":25,"commit_id":"3f9d83594e28589722d5b336622bc9c666d021bd","original_commit_id":"3f9d83594e28589722d5b336622bc9c666d021bd","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"body":"Right, so call it a NoSuchModuleException instead of a NotModule exception. I don't understand what a NotModule is.","created_at":"2016-10-20T20:45:45Z","updated_at":"2016-10-20T20:45:45Z","html_url":"https://github.com/aces/Loris/pull/2335#discussion_r84372235","pull_request_url":"https://api.github.com/repos/aces/Loris/pulls/2335","_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments/84372235"},"html":{"href":"https://github.com/aces/Loris/pull/2335#discussion_r84372235"},"pull_request":{"href":"https://api.github.com/repos/aces/Loris/pulls/2335"}}},"pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/2335","id":90271888,"html_url":"https://github.com/aces/Loris/pull/2335","diff_url":"https://github.com/aces/Loris/pull/2335.diff","patch_url":"https://github.com/aces/Loris/pull/2335.patch","issue_url":"https://api.github.com/repos/aces/Loris/issues/2335","number":2335,"state":"open","locked":false,"title":"[Core] Adding catch to caller when module is not module ","user":{"login":"ridz1208","id":15268287,"avatar_url":"https://avatars.githubusercontent.com/u/15268287?v=3","gravatar_id":"","url":"https://api.github.com/users/ridz1208","html_url":"https://github.com/ridz1208","followers_url":"https://api.github.com/users/ridz1208/followers","following_url":"https://api.github.com/users/ridz1208/following{/other_user}","gists_url":"https://api.github.com/users/ridz1208/gists{/gist_id}","starred_url":"https://api.github.com/users/ridz1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridz1208/subscriptions","organizations_url":"https://api.github.com/users/ridz1208/orgs","repos_url":"https://api.github.com/users/ridz1208/repos","events_url":"https://api.github.com/users/ridz1208/events{/privacy}","received_events_url":"https://api.github.com/users/ridz1208/received_events","type":"User","site_admin":false},"body":"when an instrument loads, error message \"no such module\" is displayed because the case when the module is actually an instrument is not handled\r\n\r\n\r\nfollowup to https://github.com/aces/Loris/pull/2308/files ","created_at":"2016-10-20T20:09:30Z","updated_at":"2016-10-20T20:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09101e2c8124508c5e6b30212f89112d0d0ed189","assignee":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"assignees":[{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},{"login":"jstirling91","id":2818503,"avatar_url":"https://avatars.githubusercontent.com/u/2818503?v=3","gravatar_id":"","url":"https://api.github.com/users/jstirling91","html_url":"https://github.com/jstirling91","followers_url":"https://api.github.com/users/jstirling91/followers","following_url":"https://api.github.com/users/jstirling91/following{/other_user}","gists_url":"https://api.github.com/users/jstirling91/gists{/gist_id}","starred_url":"https://api.github.com/users/jstirling91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstirling91/subscriptions","organizations_url":"https://api.github.com/users/jstirling91/orgs","repos_url":"https://api.github.com/users/jstirling91/repos","events_url":"https://api.github.com/users/jstirling91/events{/privacy}","received_events_url":"https://api.github.com/users/jstirling91/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aces/Loris/milestones/9","html_url":"https://github.com/aces/Loris/milestones/17.0","labels_url":"https://api.github.com/repos/aces/Loris/milestones/9/labels","id":1620545,"number":9,"title":"17.0","description":"","creator":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":228,"state":"open","created_at":"2016-03-03T16:19:29Z","updated_at":"2016-10-20T20:37:00Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/aces/Loris/pulls/2335/commits","review_comments_url":"https://api.github.com/repos/aces/Loris/pulls/2335/comments","review_comment_url":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aces/Loris/issues/2335/comments","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/3f9d83594e28589722d5b336622bc9c666d021bd","head":{"label":"ridz1208:2016_10_20_Instruments_broken_Module_class","ref":"2016_10_20_Instruments_broken_Module_class","sha":"3f9d83594e28589722d5b336622bc9c666d021bd","user":{"login":"ridz1208","id":15268287,"avatar_url":"https://avatars.githubusercontent.com/u/15268287?v=3","gravatar_id":"","url":"https://api.github.com/users/ridz1208","html_url":"https://github.com/ridz1208","followers_url":"https://api.github.com/users/ridz1208/followers","following_url":"https://api.github.com/users/ridz1208/following{/other_user}","gists_url":"https://api.github.com/users/ridz1208/gists{/gist_id}","starred_url":"https://api.github.com/users/ridz1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridz1208/subscriptions","organizations_url":"https://api.github.com/users/ridz1208/orgs","repos_url":"https://api.github.com/users/ridz1208/repos","events_url":"https://api.github.com/users/ridz1208/events{/privacy}","received_events_url":"https://api.github.com/users/ridz1208/received_events","type":"User","site_admin":false},"repo":{"id":50528288,"name":"Loris","full_name":"ridz1208/Loris","owner":{"login":"ridz1208","id":15268287,"avatar_url":"https://avatars.githubusercontent.com/u/15268287?v=3","gravatar_id":"","url":"https://api.github.com/users/ridz1208","html_url":"https://github.com/ridz1208","followers_url":"https://api.github.com/users/ridz1208/followers","following_url":"https://api.github.com/users/ridz1208/following{/other_user}","gists_url":"https://api.github.com/users/ridz1208/gists{/gist_id}","starred_url":"https://api.github.com/users/ridz1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridz1208/subscriptions","organizations_url":"https://api.github.com/users/ridz1208/orgs","repos_url":"https://api.github.com/users/ridz1208/repos","events_url":"https://api.github.com/users/ridz1208/events{/privacy}","received_events_url":"https://api.github.com/users/ridz1208/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ridz1208/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":true,"url":"https://api.github.com/repos/ridz1208/Loris","forks_url":"https://api.github.com/repos/ridz1208/Loris/forks","keys_url":"https://api.github.com/repos/ridz1208/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ridz1208/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ridz1208/Loris/teams","hooks_url":"https://api.github.com/repos/ridz1208/Loris/hooks","issue_events_url":"https://api.github.com/repos/ridz1208/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/ridz1208/Loris/events","assignees_url":"https://api.github.com/repos/ridz1208/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/ridz1208/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/ridz1208/Loris/tags","blobs_url":"https://api.github.com/repos/ridz1208/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ridz1208/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ridz1208/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/ridz1208/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ridz1208/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/ridz1208/Loris/languages","stargazers_url":"https://api.github.com/repos/ridz1208/Loris/stargazers","contributors_url":"https://api.github.com/repos/ridz1208/Loris/contributors","subscribers_url":"https://api.github.com/repos/ridz1208/Loris/subscribers","subscription_url":"https://api.github.com/repos/ridz1208/Loris/subscription","commits_url":"https://api.github.com/repos/ridz1208/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/ridz1208/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/ridz1208/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/ridz1208/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/ridz1208/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/ridz1208/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ridz1208/Loris/merges","archive_url":"https://api.github.com/repos/ridz1208/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ridz1208/Loris/downloads","issues_url":"https://api.github.com/repos/ridz1208/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/ridz1208/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/ridz1208/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/ridz1208/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ridz1208/Loris/labels{/name}","releases_url":"https://api.github.com/repos/ridz1208/Loris/releases{/id}","deployments_url":"https://api.github.com/repos/ridz1208/Loris/deployments","created_at":"2016-01-27T18:25:19Z","updated_at":"2016-01-27T18:25:22Z","pushed_at":"2016-10-20T20:05:56Z","git_url":"git://github.com/ridz1208/Loris.git","ssh_url":"git@github.com:ridz1208/Loris.git","clone_url":"https://github.com/ridz1208/Loris.git","svn_url":"https://github.com/ridz1208/Loris","homepage":"","size":67067,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"16.04-dev"}},"base":{"label":"aces:17.0-dev","ref":"17.0-dev","sha":"3320702581bcee0e550a06060f39e9c3ec0ce00b","user":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"repo":{"id":1125630,"name":"Loris","full_name":"aces/Loris","owner":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aces/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":false,"url":"https://api.github.com/repos/aces/Loris","forks_url":"https://api.github.com/repos/aces/Loris/forks","keys_url":"https://api.github.com/repos/aces/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aces/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aces/Loris/teams","hooks_url":"https://api.github.com/repos/aces/Loris/hooks","issue_events_url":"https://api.github.com/repos/aces/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/aces/Loris/events","assignees_url":"https://api.github.com/repos/aces/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/aces/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/aces/Loris/tags","blobs_url":"https://api.github.com/repos/aces/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aces/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aces/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/aces/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/aces/Loris/languages","stargazers_url":"https://api.github.com/repos/aces/Loris/stargazers","contributors_url":"https://api.github.com/repos/aces/Loris/contributors","subscribers_url":"https://api.github.com/repos/aces/Loris/subscribers","subscription_url":"https://api.github.com/repos/aces/Loris/subscription","commits_url":"https://api.github.com/repos/aces/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/aces/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/aces/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/aces/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/aces/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/aces/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aces/Loris/merges","archive_url":"https://api.github.com/repos/aces/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aces/Loris/downloads","issues_url":"https://api.github.com/repos/aces/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/aces/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/aces/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/aces/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aces/Loris/labels{/name}","releases_url":"https://api.github.com/repos/aces/Loris/releases{/id}","deployments_url":"https://api.github.com/repos/aces/Loris/deployments","created_at":"2010-11-30T14:57:57Z","updated_at":"2016-09-29T22:11:29Z","pushed_at":"2016-10-20T20:37:00Z","git_url":"git://github.com/aces/Loris.git","ssh_url":"git@github.com:aces/Loris.git","clone_url":"https://github.com/aces/Loris.git","svn_url":"https://github.com/aces/Loris","homepage":"","size":71434,"stargazers_count":36,"watchers_count":36,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":41,"forks":61,"open_issues":41,"watchers":36,"default_branch":"17.1-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/2335"},"html":{"href":"https://github.com/aces/Loris/pull/2335"},"issue":{"href":"https://api.github.com/repos/aces/Loris/issues/2335"},"comments":{"href":"https://api.github.com/repos/aces/Loris/issues/2335/comments"},"review_comments":{"href":"https://api.github.com/repos/aces/Loris/pulls/2335/comments"},"review_comment":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aces/Loris/pulls/2335/commits"},"statuses":{"href":"https://api.github.com/repos/aces/Loris/statuses/3f9d83594e28589722d5b336622bc9c666d021bd"}}}}
{"actor":{"display_login":"driusan"}}