10.1 Exception Handling in Java Theory

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

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

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

    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.

  • @ssriram01
    @ssriram01 7 ปีที่แล้ว +113

    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

  • @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

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

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

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

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

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

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

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

    really exceptional sir it is very useful

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

      I see👀 what you did there

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

    Sir thank you I got 100 in computer science

  • @veronika_franz
    @veronika_franz 6 ปีที่แล้ว +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?

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

    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!

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

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

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

    Very clear explanation, thanks for sharing

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

    Naveen Reddy > all institutes of ameerpet 😎😎😎

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

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

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

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

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

    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.

  • @Hcjcjvkbifydraycjvih
    @Hcjcjvkbifydraycjvih 2 วันที่ผ่านมา

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

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

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

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

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

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

    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.

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

    The way you explain, I understand it easily!!! 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

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

    Loved the playlist sir! Highly recommended💎

  • @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

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

    Thank you sir... It helped me a lot

  • @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

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

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

  • @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

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

    Exam ke pehle bhagwan ko yaad kerna hota hai ... wo aap hein

  • @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

  • @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.

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

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

  • @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

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

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

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

    Yogiji : Aj se tumhara naam taklusko

  • @iscxii6415
    @iscxii6415 5 หลายเดือนก่อน

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

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

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

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

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

  • @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!

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

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

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

    (exception)ally good!!

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

    socho ye university ki class mai aae or sab isse good morning wish kre aur ye kahe "good morning aliens !"

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

    Tq bro because of you iam completing java

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

    V helpful I hope I can pass my final

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

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

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

    Awsm explanation sir 👍

  • @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.

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

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

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

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

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

    I am subscribe your channel

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

    We love your content but what we hate is "welcome back aliens"

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

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

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

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

  • @thread1066
    @thread1066 6 ปีที่แล้ว +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..... ;)

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

    can you teach for icse

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

    I'm beginning to think that Java is one of the many Indian dialects

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

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

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

    What if the kid runs into the kitchen and sets himself on fire!?

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

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

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

    thank u bro your method of explaining is excellent ..

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

    u from chatarpur?bby

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

    Well come back alieance suna kya mene 😐😐😐

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

    Wonderful sir 👍 I understood well sir

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

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

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

    Terrible pronunciation

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

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

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

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

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

    thank you sir

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

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

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

    Might have said more abt throws throw and finally in detail

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

    Very nice example of throw and catch 👍

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

    Java sucks. Its right out the 80s

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

    this guy is awesome thanks for such a helpful video

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

    is possible to rectify the exception???

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

    Great tutorial ...Thanks a lot

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

    Your analogy always work 🙏👍🏻

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

    You are great

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

    Good content

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

    GOAT

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

    very useful...good explanation...

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

    awesome

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

    why do u call us aliens

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

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

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

    awsome tutorial!

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

    ALIANS???????????????????????????????????????

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

    Excellent explanation 👌👌

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

    please make these kind of videos more

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

    Sir I want u r more videos on core java

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

    SIR , WHERE ARE U FROM???

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

    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.

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

    thanks a lot !!

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

    thank you sir, good explanation

  • @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

  • @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

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

    You are so good explaining!

  • @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 !

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

    Can you speak in Hindi

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

    good video thank you man

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

    Thank you so much!!

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

    i really like the analogies you use.