{"id":4834,"date":"2023-03-02T08:00:00","date_gmt":"2023-03-02T05:00:00","guid":{"rendered":"http:\/\/professor.norton.net.br\/?p=4834"},"modified":"2023-03-02T18:25:02","modified_gmt":"2023-03-02T15:25:02","slug":"poo-excecoes-e-controle-de-erros","status":"publish","type":"post","link":"https:\/\/professor.norton.net.br\/index.php\/2023\/03\/02\/poo-excecoes-e-controle-de-erros\/","title":{"rendered":"POO &#8211; Exce\u00e7\u00f5es e controle de erros"},"content":{"rendered":"<p><a href=\"https:\/\/professor.norton.net.br\/wp-content\/uploads\/2020\/02\/poo_05.pptx\">Apresenta\u00e7\u00e3o<\/a><\/p>\n<p><a href=\"https:\/\/professor.norton.net.br\/wp-content\/uploads\/2020\/02\/Aula04.zip\">Exemplo<\/a><\/p>\n<p><strong>Atividade<\/strong><\/p>\n<p>assunto: poo04<\/p>\n<p>Utilizando a corre\u00e7\u00e3o da atividade poo03 crie a prote\u00e7\u00e3o de exce\u00e7\u00f5es dos metodos <strong><span style=\"color: #ff0000;\">set<\/span><\/strong> de cada classe e do <strong><span style=\"color: #ff0000;\">metodos criadores<\/span><\/strong>, para caso ocorra uma exce\u00e7\u00e3o defina valores padroes para os atribuitos e mostre uma mensagem &#8220;Ocorreu uma exce\u00e7\u00e3o &#8211; Valores padr\u00f5es definidos&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apresenta\u00e7\u00e3o Exemplo Atividade assunto: poo04 Utilizando a corre\u00e7\u00e3o da atividade poo03 crie a prote\u00e7\u00e3o de exce\u00e7\u00f5es dos metodos set de cada classe e do metodos criadores, para caso ocorra uma exce\u00e7\u00e3o defina valores padroes para os atribuitos e mostre uma mensagem &#8220;Ocorreu uma exce\u00e7\u00e3o &#8211; Valores padr\u00f5es definidos&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-4834","post","type-post","status-publish","format-standard","hentry","category-poo-fatec-ipiranga"],"_links":{"self":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts\/4834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/comments?post=4834"}],"version-history":[{"count":2,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts\/4834\/revisions"}],"predecessor-version":[{"id":5573,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/posts\/4834\/revisions\/5573"}],"wp:attachment":[{"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/media?parent=4834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/categories?post=4834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/professor.norton.net.br\/index.php\/wp-json\/wp\/v2\/tags?post=4834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}