{"id":3686,"date":"2023-11-13T07:25:53","date_gmt":"2023-11-13T07:25:53","guid":{"rendered":"https:\/\/www.juniorjavadeveloper.pl\/?p=3686"},"modified":"2023-11-13T07:25:57","modified_gmt":"2023-11-13T07:25:57","slug":"video-tutorial-java-exceptions-przyklady-obslugi-wyjatkow-tworzenia-wlasnego-wyjatku-finally-try-with-resources-youtube","status":"publish","type":"post","link":"https:\/\/www.juniorjavadeveloper.pl\/en\/2023\/11\/13\/video-tutorial-java-exceptions-przyklady-obslugi-wyjatkow-tworzenia-wlasnego-wyjatku-finally-try-with-resources-youtube\/","title":{"rendered":"Video Tutorial &#8211; Java Exceptions, przyk\u0142ady obs\u0142ugi wyj\u0105tk\u00f3w, tworzenia w\u0142asnego wyj\u0105tku, finally, try-with-resources &#8211; YouTube"},"content":{"rendered":"<blockquote class=\"wp-block-quote has-large-font-size is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-large-font-size wp-block-paragraph\">Video tutorial &#8211; czas trwania 30 minut<\/p>\n<cite>W jaki spos\u00f3b obs\u0142u\u017cy\u0107 &#8220;podst\u0119pne&#8221; wyj\u0105tki <code>unchecked<\/code>? Jak stworzy\u0107 w\u0142asny wyj\u0105tek <code>checked<\/code>, kt\u00f3ry trzeba obs\u0142u\u017cy\u0107? try-catch me, je\u015bli potrafisz \ud83d\ude09 No i na koniec <code>finally<\/code>, zastosujemy &#8220;nowo\u015b\u0107&#8221; z Java 1.7, czyli <code>try-with-resources<\/code>. Praktyczny przyk\u0142ad jak post\u0119powa\u0107 z wyj\u0105tkami w j\u0119zyku Java.<\/cite><\/blockquote>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Java Exceptions, przyk\u0142ady obs\u0142ugi wyj\u0105tk\u00f3w, tworzenia w\u0142asnego wyj\u0105tku, finally, try-with-resources\" width=\"768\" height=\"432\" src=\"https:\/\/www.youtube.com\/embed\/umuUGLSQqiw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">Java Exceptions, przyklady obslugi wyjatkow, tworzenia wlasnego wyjatku, finally, try-with-resources &#8211; YouTube<\/figcaption><\/figure>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\">Poni\u017cej diagram przedstawiaj\u0105cy hierarchi\u0119 klas wyj\u0105tk\u00f3w w j\u0119zyku Java. Wyj\u0105tki w j\u0119zyku Java s\u0142u\u017c\u0105 do obs\u0142ugi sytuacji wyj\u0105tkowych oraz stanowi\u0105 dodatkow\u0105 warto\u015b\u0107 zwracan\u0105 z metody.<\/p>\n\n\n<div class=\"wp-block-image\"><!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"401\" src=\"https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy.png\" alt=\"Java Exception Hierarchy - Junior Java Developer Mentor Mentoring\" class=\"wp-image-3689\" srcset=\"https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy.png 1006w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-300x120.png 300w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-768x306.png 768w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-18x7.png 18w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-1000x399.png 1000w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-800x319.png 800w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-600x239.png 600w, https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/Exception_Hierarchy-400x159.png 400w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/a><figcaption class=\"wp-element-caption\">Java Exception Hierarchy &#8211; Junior Java Developer Mentor Mentoring<\/figcaption><\/figure>\n<\/body><\/html>\n<\/div>\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-poradnik-dla-przysz-ych-junior-java-developer-039-w wp-block-embed-poradnik-dla-przysz-ych-junior-java-developer-039-w\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"AKkesR1d1a\"><a href=\"https:\/\/www.juniorjavadeveloper.pl\/en\/kontakt\/\">Contact<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u201eKontakt\u201d \u2014 Poradnik dla przysz\u0142ych Junior Java Developer&amp;apos;\u00f3w\" src=\"https:\/\/www.juniorjavadeveloper.pl\/kontakt\/embed\/#?secret=Ljl8s4jfj0#?secret=AKkesR1d1a\" data-secret=\"AKkesR1d1a\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-poradnik-dla-przysz-ych-junior-java-developer-039-w wp-block-embed-poradnik-dla-przysz-ych-junior-java-developer-039-w\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"3KqvIdgoH7\"><a href=\"https:\/\/www.juniorjavadeveloper.pl\/en\/mentoring-rezerwuj-termin\/\">Mentoring - book an appointment<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"\u201eMentoring \u2013 rezerwuj termin\u201d \u2014 Poradnik dla przysz\u0142ych Junior Java Developer&amp;apos;\u00f3w\" src=\"https:\/\/www.juniorjavadeveloper.pl\/mentoring-rezerwuj-termin\/embed\/#?secret=zU0JMSF51p#?secret=3KqvIdgoH7\" data-secret=\"3KqvIdgoH7\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\">Zdj\u0119cie mojego autorstwa, jako t\u0142o narz\u0119dzie <a href=\"https:\/\/www.jetbrains.com\/idea\/\" data-type=\"URL\" data-id=\"https:\/\/www.jetbrains.com\/idea\/\" target=\"_blank\" rel=\"noreferrer noopener\">IntelliJ IDEA \u2013 the Leading Java and Kotlin IDE<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Video tutorial &#8211; czas trwania 30 minut W jaki spos\u00f3b obs\u0142u\u017cy\u0107 &#8220;podst\u0119pne&#8221; wyj\u0105tki unchecked? Jak stworzy\u0107 w\u0142asny wyj\u0105tek checked, kt\u00f3ry trzeba obs\u0142u\u017cy\u0107? try-catch me, je\u015bli potrafisz \ud83d\ude09 No i na koniec finally, zastosujemy &#8220;nowo\u015b\u0107&#8221; z Java 1.7, czyli try-with-resources. Praktyczny przyk\u0142ad jak post\u0119powa\u0107 z wyj\u0105tkami w j\u0119zyku Java. Poni\u017cej diagram przedstawiaj\u0105cy hierarchi\u0119 klas wyj\u0105tk\u00f3w w [&hellip;]<\/p>","protected":false},"author":1,"featured_media":3688,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_ppp_document_settings_meta":"","footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[75],"tags":[],"class_list":["post-3686","post","type-post","status-publish","format-standard","has-post-thumbnail","category-video-tutorial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.juniorjavadeveloper.pl\/wp-content\/uploads\/2023\/11\/YT-thumbnail_Java-Exceptions-Explained.png","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/posts\/3686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/comments?post=3686"}],"version-history":[{"count":2,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/posts\/3686\/revisions"}],"predecessor-version":[{"id":3691,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/posts\/3686\/revisions\/3691"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/media\/3688"}],"wp:attachment":[{"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/media?parent=3686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/categories?post=3686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.juniorjavadeveloper.pl\/en\/wp-json\/wp\/v2\/tags?post=3686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}