{"action":"closed","issue":{"url":"https://api.github.com/repos/Heidric/HomeWork2/issues/3","labels_url":"https://api.github.com/repos/Heidric/HomeWork2/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Heidric/HomeWork2/issues/3/comments","events_url":"https://api.github.com/repos/Heidric/HomeWork2/issues/3/events","html_url":"https://github.com/Heidric/HomeWork2/issues/3","id":125387740,"number":3,"title":"(Т) Неправильная работа с исключениями","user":{"login":"ikit-mita","id":11030603,"avatar_url":"https://avatars.githubusercontent.com/u/11030603?v=3","gravatar_id":"","url":"https://api.github.com/users/ikit-mita","html_url":"https://github.com/ikit-mita","followers_url":"https://api.github.com/users/ikit-mita/followers","following_url":"https://api.github.com/users/ikit-mita/following{/other_user}","gists_url":"https://api.github.com/users/ikit-mita/gists{/gist_id}","starred_url":"https://api.github.com/users/ikit-mita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikit-mita/subscriptions","organizations_url":"https://api.github.com/users/ikit-mita/orgs","repos_url":"https://api.github.com/users/ikit-mita/repos","events_url":"https://api.github.com/users/ikit-mita/events{/privacy}","received_events_url":"https://api.github.com/users/ikit-mita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T12:46:29Z","updated_at":"2016-01-24T12:06:00Z","closed_at":"2016-01-24T12:06:00Z","body":">a. Объекты модели __не должны выводить сообщения (об ошибках) на консоль__, а должны кидать исключения, которые обрабатываются на UI, где и выводится сообщение;\r\n>b. Для описания различных исключительных ситуаций должны использоваться __отдельные__ типы исключений;\r\n\r\nМетод Car.ChangeOwner не должен обрабатывать исключение, должен пропускать его на View где его и обработают.\r\nНе используй тип Exception для этой ситуации, создай свой тип исключения\r\n"}}