{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/23093392","id":23093392,"diff_hunk":"@@ -0,0 +1,27 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+using System.Threading.Tasks;\n+\n+namespace Microsoft.WindowsAzure.Commands.StorSimple.Exceptions\n+{\n+    [Serializable]\n+    public class StorSimpleDeviceNotFoundException : Exception","path":"src/ServiceManagement/StorSimple/Commands.StorSimple/Exceptions/StorSimpleDeviceNotFoundException.cs","position":10,"original_position":10,"commit_id":"7dc05b47e0131e674c6fc59b294c1c178653a93c","original_commit_id":"7dc05b47e0131e674c6fc59b294c1c178653a93c","user":{"login":"ogail","id":1034045,"avatar_url":"https://avatars.githubusercontent.com/u/1034045?v=3","gravatar_id":"","url":"https://api.github.com/users/ogail","html_url":"https://github.com/ogail","followers_url":"https://api.github.com/users/ogail/followers","following_url":"https://api.github.com/users/ogail/following{/other_user}","gists_url":"https://api.github.com/users/ogail/gists{/gist_id}","starred_url":"https://api.github.com/users/ogail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogail/subscriptions","organizations_url":"https://api.github.com/users/ogail/orgs","repos_url":"https://api.github.com/users/ogail/repos","events_url":"https://api.github.com/users/ogail/events{/privacy}","received_events_url":"https://api.github.com/users/ogail/received_events","type":"User","site_admin":false},"body":"What is the point of having a class just to use generic error message? Could you just have a method in base class or something that's called `GetGenericException` which will return `new Exception(\"\"The device name provided does not exist under your currently selected resource. To get a list of all available devices use Get-AzureStorSimpleDevice\"\")`?\r\n\r\nBtw the code line is more than 100 chars which make it hard to review","created_at":"2015-01-16T17:04:45Z","updated_at":"2015-01-16T17:04:45Z","html_url":"https://github.com/Azure/azure-powershell/pull/84#discussion_r23093392","pull_request_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/23093392"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/84#discussion_r23093392"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-powershell/pulls/84","id":27286403,"html_url":"https://github.com/Azure/azure-powershell/pull/84","diff_url":"https://github.com/Azure/azure-powershell/pull/84.diff","patch_url":"https://github.com/Azure/azure-powershell/pull/84.patch","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/84","number":84,"state":"open","locked":false,"title":"Adding StorSimple cmdlets","user":{"login":"avirupch","id":8154441,"avatar_url":"https://avatars.githubusercontent.com/u/8154441?v=3","gravatar_id":"","url":"https://api.github.com/users/avirupch","html_url":"https://github.com/avirupch","followers_url":"https://api.github.com/users/avirupch/followers","following_url":"https://api.github.com/users/avirupch/following{/other_user}","gists_url":"https://api.github.com/users/avirupch/gists{/gist_id}","starred_url":"https://api.github.com/users/avirupch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avirupch/subscriptions","organizations_url":"https://api.github.com/users/avirupch/orgs","repos_url":"https://api.github.com/users/avirupch/repos","events_url":"https://api.github.com/users/avirupch/events{/privacy}","received_events_url":"https://api.github.com/users/avirupch/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-13T17:00:33Z","updated_at":"2015-01-16T17:04:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bded4f35d579694e2c1621524350dc97f5941eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/84/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/84/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/84/comments","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/7dc05b47e0131e674c6fc59b294c1c178653a93c","head":{"label":"AzCiS:dev","ref":"dev","sha":"7dc05b47e0131e674c6fc59b294c1c178653a93c","user":{"login":"AzCiS","id":8486956,"avatar_url":"https://avatars.githubusercontent.com/u/8486956?v=3","gravatar_id":"","url":"https://api.github.com/users/AzCiS","html_url":"https://github.com/AzCiS","followers_url":"https://api.github.com/users/AzCiS/followers","following_url":"https://api.github.com/users/AzCiS/following{/other_user}","gists_url":"https://api.github.com/users/AzCiS/gists{/gist_id}","starred_url":"https://api.github.com/users/AzCiS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzCiS/subscriptions","organizations_url":"https://api.github.com/users/AzCiS/orgs","repos_url":"https://api.github.com/users/AzCiS/repos","events_url":"https://api.github.com/users/AzCiS/events{/privacy}","received_events_url":"https://api.github.com/users/AzCiS/received_events","type":"Organization","site_admin":false},"repo":{"id":27542281,"name":"azure-powershell","full_name":"AzCiS/azure-powershell","owner":{"login":"AzCiS","id":8486956,"avatar_url":"https://avatars.githubusercontent.com/u/8486956?v=3","gravatar_id":"","url":"https://api.github.com/users/AzCiS","html_url":"https://github.com/AzCiS","followers_url":"https://api.github.com/users/AzCiS/followers","following_url":"https://api.github.com/users/AzCiS/following{/other_user}","gists_url":"https://api.github.com/users/AzCiS/gists{/gist_id}","starred_url":"https://api.github.com/users/AzCiS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzCiS/subscriptions","organizations_url":"https://api.github.com/users/AzCiS/orgs","repos_url":"https://api.github.com/users/AzCiS/repos","events_url":"https://api.github.com/users/AzCiS/events{/privacy}","received_events_url":"https://api.github.com/users/AzCiS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AzCiS/azure-powershell","description":"Microsoft Azure PowerShell","fork":true,"url":"https://api.github.com/repos/AzCiS/azure-powershell","forks_url":"https://api.github.com/repos/AzCiS/azure-powershell/forks","keys_url":"https://api.github.com/repos/AzCiS/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AzCiS/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AzCiS/azure-powershell/teams","hooks_url":"https://api.github.com/repos/AzCiS/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/AzCiS/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/AzCiS/azure-powershell/events","assignees_url":"https://api.github.com/repos/AzCiS/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/AzCiS/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/AzCiS/azure-powershell/tags","blobs_url":"https://api.github.com/repos/AzCiS/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AzCiS/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AzCiS/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/AzCiS/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AzCiS/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/AzCiS/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/AzCiS/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/AzCiS/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/AzCiS/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/AzCiS/azure-powershell/subscription","commits_url":"https://api.github.com/repos/AzCiS/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/AzCiS/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/AzCiS/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/AzCiS/azure-powershell/issues/comments/{number}","contents_url":"https://api.github.com/repos/AzCiS/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/AzCiS/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AzCiS/azure-powershell/merges","archive_url":"https://api.github.com/repos/AzCiS/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AzCiS/azure-powershell/downloads","issues_url":"https://api.github.com/repos/AzCiS/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/AzCiS/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/AzCiS/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/AzCiS/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AzCiS/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/AzCiS/azure-powershell/releases{/id}","created_at":"2014-12-04T13:43:38Z","updated_at":"2015-01-15T21:22:59Z","pushed_at":"2015-01-15T21:22:58Z","git_url":"git://github.com/AzCiS/azure-powershell.git","ssh_url":"git@github.com:AzCiS/azure-powershell.git","clone_url":"https://github.com/AzCiS/azure-powershell.git","svn_url":"https://github.com/AzCiS/azure-powershell","homepage":null,"size":14530,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"383c254cecabe3c3a96c92c2160c471b92096293","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":23891194,"name":"azure-powershell","full_name":"Azure/azure-powershell","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-powershell","description":"Microsoft Azure PowerShell","fork":false,"url":"https://api.github.com/repos/Azure/azure-powershell","forks_url":"https://api.github.com/repos/Azure/azure-powershell/forks","keys_url":"https://api.github.com/repos/Azure/azure-powershell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-powershell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-powershell/teams","hooks_url":"https://api.github.com/repos/Azure/azure-powershell/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-powershell/events","assignees_url":"https://api.github.com/repos/Azure/azure-powershell/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-powershell/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-powershell/tags","blobs_url":"https://api.github.com/repos/Azure/azure-powershell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-powershell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-powershell/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-powershell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-powershell/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-powershell/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-powershell/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-powershell/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-powershell/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-powershell/subscription","commits_url":"https://api.github.com/repos/Azure/azure-powershell/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-powershell/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/{number}","contents_url":"https://api.github.com/repos/Azure/azure-powershell/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-powershell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-powershell/merges","archive_url":"https://api.github.com/repos/Azure/azure-powershell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-powershell/downloads","issues_url":"https://api.github.com/repos/Azure/azure-powershell/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-powershell/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-powershell/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-powershell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-powershell/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-powershell/releases{/id}","created_at":"2014-09-10T20:35:18Z","updated_at":"2015-01-16T02:34:41Z","pushed_at":"2015-01-16T16:23:26Z","git_url":"git://github.com/Azure/azure-powershell.git","ssh_url":"git@github.com:Azure/azure-powershell.git","clone_url":"https://github.com/Azure/azure-powershell.git","svn_url":"https://github.com/Azure/azure-powershell","homepage":null,"size":17039,"stargazers_count":34,"watchers_count":34,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":27,"forks":61,"open_issues":27,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/84"},"html":{"href":"https://github.com/Azure/azure-powershell/pull/84"},"issue":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/84"},"comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-powershell/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-powershell/statuses/7dc05b47e0131e674c6fc59b294c1c178653a93c"}}}}