10.1 Exception Handling in Java Theory

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

ความคิดเห็น • 137

  • @fitnesstravelwithdm4541
    @fitnesstravelwithdm4541 5 ปีที่แล้ว +75

    Navin Sir , you are awesome. I'm following you since last 2 years. you are my java teacher. All the concept of Java I learned from your videos. Thank you sir for publishing these amazing video lectures publicly.

  • @jvsnyc
    @jvsnyc 4 ปีที่แล้ว +4

    First, I find the presentation exceptionally understandable, people complaining they can't understand him will have big problems working on teams in software development almost anywhere in the world. Secondly, I like the emphasis right up front on appropriate choice of checked vs. unchecked, better than some videos by others that get even more views.

  • @ssriram01
    @ssriram01 8 ปีที่แล้ว +114

    Hi Navin,
    Good to see you back :-).
    Even though I had programming experience in Java for 10 years, I forgot all after becoming a Manager.
    I was struggling to learn the old and new concepts which evolved in Java. Then I came across your tutorials and I should say that you are amazing in explaining things and that too in an easy way.
    One day when I clicked and saw that your videos were not there, I was extremely upset. But today when I could find them, you could see my excitement.
    The excitement is so much that I wanted to leave a comment for you.
    Keep up the good work.
    Sriram

  • @sushruttabakade6088
    @sushruttabakade6088 5 ปีที่แล้ว +11

    Whenever I face any doubt , I know where I have to look. Your channel is so underrated

  • @TeamOJStudios
    @TeamOJStudios 5 ปีที่แล้ว +7

    Really fantastic videos Navin. For some reason the way you explained it made it click in my head that I was "catching" a "thrown" exception. Love it!

  • @iscxii6415
    @iscxii6415 7 หลายเดือนก่อน +1

    exceptional video
    the way you leveraged and refined the current momentum of yours

  • @superimaginationland9026
    @superimaginationland9026 8 ปีที่แล้ว +5

    This guy is awesome , @Navin Reddy.. Language is understandable , and he is making tough things easy and thats what we need.

  • @worldsuperb7479
    @worldsuperb7479 4 ปีที่แล้ว +3

    Thank you so much Navin sir, your videos are best. I tried to learn in different websites and paid video courses ,but compare to them your videos are simple and easy to understand the concepts. Thanks for making videos sir.

  • @soukeen6252
    @soukeen6252 3 ปีที่แล้ว +1

    I don't think before him someone was that much clear about the concept ,,thanks sir

  • @dontworryaboutit2990
    @dontworryaboutit2990 7 ปีที่แล้ว +3

    You can tell this guy knows his stuff. Great video.

  • @yanxianzhang5443
    @yanxianzhang5443 3 ปีที่แล้ว +1

    Thank you a lot Navin! This is the most detailed explanation about Exception Handling on youtube.

  • @medobear188
    @medobear188 ปีที่แล้ว +1

    Tutorials you make are the best one I have seen so far. Every video is well structured and divided in parts that gave me the best learning experiences. Thanks a lot

  • @abhyudaimudiri5287
    @abhyudaimudiri5287 7 ปีที่แล้ว +17

    haha.. Aliens.. very positive and interesting.
    I don't know why but i feel very interesting seeing you and learning by your tutorials. Bro. your spread positivity , interest and knowledge too. Great collection. Awesome knowledge. You are a pro. keep going. Kudos

  • @rajatgyl
    @rajatgyl 5 ปีที่แล้ว +6

    Hi, Please post a video explaining ClassNotFoundException v/s NoClassDefFound Error and also for an explanation for Chained Exceptions.
    Thank You!

  • @santoshgaddam83
    @santoshgaddam83 7 ปีที่แล้ว +2

    Nice video... whenever i wanted to read any topic first i go here and then i read.... so my first preference is Naveen Reddy

  • @ulvimardaliyev6709
    @ulvimardaliyev6709 8 ปีที่แล้ว +3

    please, create more java videos, it is the best way to learn java through watching your videos

  • @nandanambati1725
    @nandanambati1725 4 ปีที่แล้ว

    Thank you sir...I have learnt java through your videos in the lock down...It helped me in the placements...

  • @rsanath
    @rsanath 7 ปีที่แล้ว +1

    The best java tutorial channel in youtube!
    Thanks Navin Reddy. Exploring all your videos :)

  • @sanjibpun1887
    @sanjibpun1887 6 ปีที่แล้ว +9

    The way you explain, I understand it easily!!! Thank You!!

  • @maheshwarsambari6178
    @maheshwarsambari6178 8 ปีที่แล้ว +13

    really exceptional sir it is very useful

    • @johndawson6057
      @johndawson6057 3 ปีที่แล้ว

      I see👀 what you did there

  • @diRumahKedua
    @diRumahKedua 7 ปีที่แล้ว +5

    Very clear explanation, thanks for sharing

  • @vishank7
    @vishank7 4 ปีที่แล้ว +2

    Loved the playlist sir! Highly recommended💎

  • @shaikdadapeer2556
    @shaikdadapeer2556 6 ปีที่แล้ว

    Excellent..... I got much more knowledge by listening this vedio........

  • @veronika_franz
    @veronika_franz 7 ปีที่แล้ว +2

    07:15 is this actually some sort of "exception" in how classes work for thowables compared to object classes? Or are those "classes" under "Throwable" not classes, but methods?
    Because: e.g you create an object A and this object has a sub-object a: public class A { ... } public class a extends A {...}
    I understood it that way that a sub object a inherits all methods and attributes upwards, i. e. towards A. But this does not work the way around: i. e. object A is not able to address methods + variables from a, if A is the staic + dynamic type of A. So, when we use e. g. the general exceptions (comparable to A) in catch, why does it handle all exeption types below exception itself (comparable to a)? I learned that the hierachy in classes goes downwards to more specialization. A is general and a is a specialized A; "excepion" is general and the others it can handle are specialized as well. So basically, the "Throwable" classes (Exception etc) should be methods, shouldn't they?

  • @loopnation5359
    @loopnation5359 3 ปีที่แล้ว

    I am studying in the largest private university in srilanka (SLIIT) . I really struggled to understand this concept since my all lectures failed to teach it in right way. They were 100 % fail. Even they also don't know the concept actually. We spend money but the don't give us the right service. Really disappointed.
    But i could get the right answer watching this video.Thank you very much.

  • @thread1066
    @thread1066 7 ปีที่แล้ว +3

    Best teacher I have seen........ thank you sir ....so much..and............very nice explanation....and.....good teaching sir ....I spend a lot of time in other Java videos but when I saw yours .......I just subcribied you sir .....for your good explanation..... ;)

  • @ahmadsaeed2140
    @ahmadsaeed2140 7 ปีที่แล้ว +1

    sir realy i learn the basics of exception from your lectur.

  • @LthiagoR
    @LthiagoR 4 ปีที่แล้ว

    You are so good explaining!

  • @offthelimits1947
    @offthelimits1947 3 ปีที่แล้ว +1

    Thank you sir... It helped me a lot

  • @saadmanahmed860
    @saadmanahmed860 5 ปีที่แล้ว

    very very bright exposition...
    mr naveen ..u r really a goog educator..

  • @thehackcademy
    @thehackcademy 4 หลายเดือนก่อน

    from Kenya , kihara ya uyu jama huwa legendary ...bruv kichwa nusu 😂😂

  • @sivaneshganesh8223
    @sivaneshganesh8223 7 ปีที่แล้ว +1

    thankyou sir!! it was very easy to understand the way u teach

  • @mielo9176
    @mielo9176 4 ปีที่แล้ว

    Very nice example of throw and catch 👍

  • @Sushil2874
    @Sushil2874 8 ปีที่แล้ว

    Great one sir ........
    Especially practical examples illustrates it better......

  • @jesuslovesyou7322
    @jesuslovesyou7322 ปีที่แล้ว

    Tq bro because of you iam completing java

  • @preethimeghana6883
    @preethimeghana6883 5 ปีที่แล้ว

    Superb explanation sir.. Easy to understand. Thank u sir...

  • @mohammedviso2269
    @mohammedviso2269 7 ปีที่แล้ว +1

    Great tutorial ...Thanks a lot

  • @sureshmanimishra434
    @sureshmanimishra434 5 ปีที่แล้ว +14

    Sir thank you I got 100 in computer science

  • @priyankamanna4550
    @priyankamanna4550 6 ปีที่แล้ว +1

    Awsm explanation sir 👍

  • @jananiramesh5471
    @jananiramesh5471 2 ปีที่แล้ว

    Wonderful sir 👍 I understood well sir

  • @swapnalishinde2221
    @swapnalishinde2221 4 ปีที่แล้ว +1

    Thankyou sir but which book is best I used to learn Java....with author Name......

  • @tareqislam1434
    @tareqislam1434 5 ปีที่แล้ว

    i really like the analogies you use.

  • @melvishems8381
    @melvishems8381 8 ปีที่แล้ว

    Cheers @Navin Reddy

  • @edupazz
    @edupazz 4 ปีที่แล้ว

    Very clearly, thanks!

  • @IrfanKhan-jt4je
    @IrfanKhan-jt4je 7 ปีที่แล้ว

    fantastic navin sir.....its a very nice explanation.......

  • @keshabbudha2067
    @keshabbudha2067 7 ปีที่แล้ว

    your tutorials are great i like them .. please can you make videos for android studio tutorials... for beginners to advance

  • @poojapawar8162
    @poojapawar8162 2 ปีที่แล้ว

    thank you sir

  • @vladanulardzic5859
    @vladanulardzic5859 5 ปีที่แล้ว +2

    Great practical examples (for example: statements: normal & critical). Very nice video animations. Professional approach to exceptions & errors. You make learning process max effective in max short time. You explained possible scenarios ! Keep on !

  • @umangsharma9993
    @umangsharma9993 ปีที่แล้ว

    Excellent explanation 👌👌

  • @cyruspassi1560
    @cyruspassi1560 5 ปีที่แล้ว +1

    (exception)ally good!!

  • @Hcjcjvkbifydraycjvih
    @Hcjcjvkbifydraycjvih 2 หลายเดือนก่อน

    Hello Sir, Please make a video on global exception handling in Spring boot.

  • @Ttvmushygushy
    @Ttvmushygushy 6 ปีที่แล้ว +7

    Thank you, you're a great teacher. You make everything very simple and you don't take away from concepts.

    • @sharpmezz7699
      @sharpmezz7699 4 ปีที่แล้ว +1

      I'm from Srilanka. According to our mother tongue, Kari means sperms.hee hee

    • @sumirankumar108
      @sumirankumar108 3 ปีที่แล้ว +2

      @@sharpmezz7699 and in our country ur type of people are called as a dick

  • @bishwajeetpandey1570
    @bishwajeetpandey1570 2 ปีที่แล้ว

    Your analogy always work 🙏👍🏻

  • @faheemahmad3957
    @faheemahmad3957 5 ปีที่แล้ว

    please make these kind of videos more

  • @techraja930
    @techraja930 5 ปีที่แล้ว

    You are my best teacher as well as guider also
    Love u sir

    • @techraja930
      @techraja930 5 ปีที่แล้ว

      Sir make vedio on python project

  • @syedfazal7895
    @syedfazal7895 6 ปีที่แล้ว

    very useful...good explanation...

  • @faheemahmad3957
    @faheemahmad3957 5 ปีที่แล้ว +1

    its crazy to see how u changed in just 3 years,,,, i came from 2019 :(

  • @sangrambarge7081
    @sangrambarge7081 6 ปีที่แล้ว

    this guy is awesome thanks for such a helpful video

  • @armghan2312
    @armghan2312 4 ปีที่แล้ว

    Thank you so much!!

  • @ramyagudapati1849
    @ramyagudapati1849 4 ปีที่แล้ว

    Superb sir

  • @sunset0935
    @sunset0935 7 ปีที่แล้ว +1

    awsome tutorial!

  • @monoranjannandi3283
    @monoranjannandi3283 7 ปีที่แล้ว

    thank you sir, good explanation

  • @biswanathbehera1057
    @biswanathbehera1057 7 ปีที่แล้ว +2

    Hi Navin
    will u please tell me...
    why don't we extend Throwable exception .

    • @felixrazykov8748
      @felixrazykov8748 6 ปีที่แล้ว

      You can extend exception or implement throwable, because exception is a class and throwable is the base interface for any object that can be thrown via a throw, including Error and Exception

    • @Tech-ze3kn
      @Tech-ze3kn 6 ปีที่แล้ว

      Your need to create a exception class but not create hierarchy of throwable

    • @sat-yen-sen963
      @sat-yen-sen963 6 ปีที่แล้ว

      is throwable a class or interface

  • @SplitUnknown
    @SplitUnknown 8 ปีที่แล้ว +7

    Sir thank you so much..
    I got 80 marka... out of 100

    • @rajashekarkarne3405
      @rajashekarkarne3405 7 ปีที่แล้ว

      Telusko Learnings i have degree second year cs java backlog. so pls help bro my small small doubts. pls give ur contact no

    • @SunnyKumar-xk8me
      @SunnyKumar-xk8me 6 ปีที่แล้ว

      Rajashekar Karne maang no. Usse

  • @eegaakhilareddyeegaakhilar5835
    @eegaakhilareddyeegaakhilar5835 6 ปีที่แล้ว

    Nice teaching sir

  • @deepaksindhwani7037
    @deepaksindhwani7037 7 ปีที่แล้ว +1

    can we write Throwable instead of Exception to catch unknown exception ? as you said Throwable is at top of hierarchy|

    • @felixrazykov8748
      @felixrazykov8748 6 ปีที่แล้ว

      Yes, you can.
      public class Main {
      public static void main(String[] args) {
      int i;
      try {
      i = 2/0;
      } catch (Throwable e) {System.out.println(e);}
      }
      }
      java.lang.ArithmeticException: / by zero

  • @leenoor6267
    @leenoor6267 2 ปีที่แล้ว

    V helpful I hope I can pass my final

  • @sauravsingh8655
    @sauravsingh8655 6 ปีที่แล้ว

    You are the best sir

  • @denizc1019
    @denizc1019 5 ปีที่แล้ว

    good video thank you man

  • @RezaZen
    @RezaZen 6 ปีที่แล้ว

    thanks a lot man, really useful

  • @nareshroyalzz8459
    @nareshroyalzz8459 6 ปีที่แล้ว

    Sir I want u r more videos on core java

  • @abdihakimmohamed6309
    @abdihakimmohamed6309 6 ปีที่แล้ว

    Hello Navin. The example where you are trying to run a process and the CPU is not available sounds like an error not an exception.

  • @tmzpanda
    @tmzpanda 4 ปีที่แล้ว

    1:16 Throwable(C)
    4:30 try catch
    7:48 throw

  • @md.ashikulislam8284
    @md.ashikulislam8284 3 ปีที่แล้ว

    I'm paying 18,000 Bdt per course in my university, yet learning 80% from Telusko! You are amazing! Is there any way to support your from Bangladesh ? I'm still a student and I don't have paypal or credit card. Take love Navin sir

  • @rahulrao_gonda
    @rahulrao_gonda 5 ปีที่แล้ว

    hi navin , could you please do videos on sorting techniques
    Thank you ,
    Rahul

  • @juileekudale9790
    @juileekudale9790 2 ปีที่แล้ว

    Good content

  • @deniskiwale2043
    @deniskiwale2043 6 ปีที่แล้ว

    nice lecture

  • @pavankarthickm3528
    @pavankarthickm3528 7 ปีที่แล้ว +2

    can you teach for icse

  • @thanpuia7
    @thanpuia7 6 ปีที่แล้ว

    thank you

  • @deveshdobriyal7233
    @deveshdobriyal7233 3 ปีที่แล้ว

    You are great

  • @nagav261
    @nagav261 5 ปีที่แล้ว

    is possible to rectify the exception???

  • @rolarola5915
    @rolarola5915 7 ปีที่แล้ว +1

    thanks a lot !!

  • @vaibhavkurale5016
    @vaibhavkurale5016 3 ปีที่แล้ว

    I am subscribe your channel

  • @sohamajgaonkar3119
    @sohamajgaonkar3119 3 ปีที่แล้ว

    awesome

  • @sagarmeena0210
    @sagarmeena0210 6 ปีที่แล้ว

    great

  • @shashankb1134
    @shashankb1134 3 ปีที่แล้ว

    Why do we need the two categories, checked and unchecked exception?

  • @saigeetha9921
    @saigeetha9921 6 ปีที่แล้ว

    Might have said more abt throws throw and finally in detail

  • @santoshgaddam83
    @santoshgaddam83 7 ปีที่แล้ว

    i dont find the Practical session video can you please provide the link...

  • @allankumar7552
    @allankumar7552 6 ปีที่แล้ว

    sir, you say exception and error is different. can you you explain this view.

  • @koushikreddy7304
    @koushikreddy7304 4 ปีที่แล้ว

    SIR , WHERE ARE U FROM???

  • @joo_nath
    @joo_nath 7 ปีที่แล้ว

    Can someone tell me a site that mentions about the definition of identifier in catch() like e, ne, ae, ex, etc. ?

    • @felixrazykov8748
      @felixrazykov8748 6 ปีที่แล้ว

      In catch you're able to catch and handle every exception that your code or code you're referencing to throws. So in order to handle the exception you must define: catch(Exception e), i.e. the "e" object is the exception that you're catching. Now you can use that "e" inside the catch block, i.e. System.out.println("The exception is " + e);

    • @felixrazykov8748
      @felixrazykov8748 6 ปีที่แล้ว

      Of course you can call it "e" for Exception, "ae" for ArithmeticalException or "JooNathIsTheBest", everything will work.

  • @955058394
    @955058394 5 ปีที่แล้ว +1

    Naveen Reddy > all institutes of ameerpet 😎😎😎

  • @TechSmithy
    @TechSmithy 7 ปีที่แล้ว

    For one try can have how many catch

    • @thread1066
      @thread1066 7 ปีที่แล้ว +2

      Any number of catch block ok... :)

  • @venkateshmuppidi9163
    @venkateshmuppidi9163 3 ปีที่แล้ว

    can we handle error in java, it's showing on internet that yes.. what is proper answer?

  • @aritrapaul2327
    @aritrapaul2327 8 ปีที่แล้ว

    Hi, can you please tell me what is 'ae' in the catch block's parenthesis ?

    • @autlos7751
      @autlos7751 7 ปีที่แล้ว

      Aritra Paul its just the parameter name

    • @prashanthkr5452
      @prashanthkr5452 6 ปีที่แล้ว

      That's Arthematic error

  • @vedantjoshi1487
    @vedantjoshi1487 7 ปีที่แล้ว +3

    what is happening on your right side..??:)^_^
    at 4:47 ?
    hahaha

    • @vedantjoshi1487
      @vedantjoshi1487 7 ปีที่แล้ว

      Telusko Learnings
      Hahaha...😂
      Nice concentration though....keep it up sir!

  • @noahgsolomon
    @noahgsolomon ปีที่แล้ว

    GOAT

  • @lordrageop7
    @lordrageop7 6 ปีที่แล้ว

    Name a few exception handling classes. Plz comment below 👇👇

  • @srinivasn415
    @srinivasn415 7 ปีที่แล้ว +1

    Iam your 45,000th subscriber

  • @pavankarthickm3528
    @pavankarthickm3528 7 ปีที่แล้ว +1

    please we have exam