{"action":"created","issue":{"url":"https://api.github.com/repos/Fermat-ORG/fermat/issues/4929","repository_url":"https://api.github.com/repos/Fermat-ORG/fermat","labels_url":"https://api.github.com/repos/Fermat-ORG/fermat/issues/4929/labels{/name}","comments_url":"https://api.github.com/repos/Fermat-ORG/fermat/issues/4929/comments","events_url":"https://api.github.com/repos/Fermat-ORG/fermat/issues/4929/events","html_url":"https://github.com/Fermat-ORG/fermat/issues/4929","id":134697022,"number":4929,"title":"CBP - Business Transaction - Open Contract - QA - Implement error manager in every catch","user":{"login":"darkestpriest","id":10060413,"avatar_url":"https://avatars.githubusercontent.com/u/10060413?v=3","gravatar_id":"","url":"https://api.github.com/users/darkestpriest","html_url":"https://github.com/darkestpriest","followers_url":"https://api.github.com/users/darkestpriest/followers","following_url":"https://api.github.com/users/darkestpriest/following{/other_user}","gists_url":"https://api.github.com/users/darkestpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/darkestpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkestpriest/subscriptions","organizations_url":"https://api.github.com/users/darkestpriest/orgs","repos_url":"https://api.github.com/users/darkestpriest/repos","events_url":"https://api.github.com/users/darkestpriest/events{/privacy}","received_events_url":"https://api.github.com/users/darkestpriest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Fermat-ORG/fermat/labels/CBP","name":"CBP","color":"006b75"},{"url":"https://api.github.com/repos/Fermat-ORG/fermat/labels/possible%20bug","name":"possible bug","color":"fbca04"},{"url":"https://api.github.com/repos/Fermat-ORG/fermat/labels/QA","name":"QA","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"alexanderejm","id":16577032,"avatar_url":"https://avatars.githubusercontent.com/u/16577032?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderejm","html_url":"https://github.com/alexanderejm","followers_url":"https://api.github.com/users/alexanderejm/followers","following_url":"https://api.github.com/users/alexanderejm/following{/other_user}","gists_url":"https://api.github.com/users/alexanderejm/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderejm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderejm/subscriptions","organizations_url":"https://api.github.com/users/alexanderejm/orgs","repos_url":"https://api.github.com/users/alexanderejm/repos","events_url":"https://api.github.com/users/alexanderejm/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderejm/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-18T21:07:25Z","updated_at":"2016-03-09T14:29:06Z","closed_at":null,"body":"This issue is part #2985\r\nIs required to implement the error manager in every catch exception present in the plugin.\r\nFor example, the error manager must be implemented like that:\r\n\r\n```\r\njava\r\ncatch (CantCreateDatabaseException cantCreateDatabaseException) {\r\n                    errorManager.reportUnexpectedPluginException(\r\n                            Plugins.BROKER_ACK_OFFLINE_PAYMENT,\r\n                            UnexpectedPluginExceptionSeverity.DISABLES_THIS_PLUGIN,\r\n                            cantCreateDatabaseException);\r\n                    throw new CantInitializeCBPAgent(cantCreateDatabaseException,\r\n                            \"Initialize Monitor Agent - trying to create the plugin database\",\r\n                            \"Please, check the cause\");\r\n                }\r\nIn the error manager line:\r\n\r\n```\r\n* Represents the plugin.\r\n```\r\njava\r\nPlugins.BROKER_ACK_OFFLINE_PAYMENT\r\n\r\n```\r\n* Represents the severity:\r\n```\r\njava\r\nUnexpectedPluginExceptionSeverity.DISABLES_THIS_PLUGIN\r\n\r\n```\r\n* Represents the caught exception:\r\n```\r\njava\r\ncantCreateDatabaseException\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Fermat-ORG/fermat/issues/comments/194319294","html_url":"https://github.com/Fermat-ORG/fermat/issues/4929#issuecomment-194319294","issue_url":"https://api.github.com/repos/Fermat-ORG/fermat/issues/4929","id":194319294,"user":{"login":"alexanderejm","id":16577032,"avatar_url":"https://avatars.githubusercontent.com/u/16577032?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderejm","html_url":"https://github.com/alexanderejm","followers_url":"https://api.github.com/users/alexanderejm/followers","following_url":"https://api.github.com/users/alexanderejm/following{/other_user}","gists_url":"https://api.github.com/users/alexanderejm/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderejm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderejm/subscriptions","organizations_url":"https://api.github.com/users/alexanderejm/orgs","repos_url":"https://api.github.com/users/alexanderejm/repos","events_url":"https://api.github.com/users/alexanderejm/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderejm/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T14:29:06Z","updated_at":"2016-03-09T14:29:06Z","body":"Issue fixed"}}