Hi,
Throwable is parents of all Exception classes in Java, Exception and Error are direct child/subclasses of Throwable.
Error are Non-recoverable. Where as Exception are recoverable.
Exception have two category.
1. Checked
IOException
FileNotFoundException
SQLException
2. Unchecked
ArrayOutofBoundException
NullPointerExecption
ArithmeticException
Error at 15:57 is because, We are using try with resource and our printwriter object is empty.
I talked about Java Exception Handling, I talked about the Exception Handling classes and sub-classes.
I used Examples. Talked about Checked and Unchecked exceptions in Details. I also Talk about Error subclass.
0:00 Introduction
0:24 Theory Talks
5:30 Coding Starts...
8:11 FileNotFoundException demonstration
18:32 ClassNotFoundException demonstration
24:21 Exception Handling using single catch block
25:13 Exception Handling using multiple catch blocks
28:20 Unchecked Exception - Demonstration starts.
29:24 ArithmeticException [ RuntimeException]
32:03 Handling ArithmeticException using try-catch block.
41:20 NumberFormatException - Multiple Exception Handling using catch.
43:54 IndexOutOfBoundsException [ ArrayIndexOutOfBoundsException | StringIndexOutOfBoundsException]
47:51 API Documentation [ https://docs.oracle.com/en/java/javas... ]
51:40 Error [ StackOverflowError ]
✍️ Queries Solved in Video :
⚠️ Exception Handling
⛔️ Error
Exception (Checked / Unchecked Exceptions)
RuntimeException / Unchecked Exception (Mostly)
Checked Exception
Thanks 🙏 You for Watching this video 🎞️.
Please subscribe the channel, share the video & like the video 👍, If found the video helpful 👌.
In questa pagina del sito puoi guardare il video online Exception Handling : Java Programming della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Learn Programming Tricks 26 febbraio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 64 volte e gli è piaciuto 4 spettatori. Buona visione!