Exception Handling : Java Programming

Published: 26 February 2022
on channel: Learn Programming Tricks
64
4

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 👌.


On this page of the site you can watch the video online Exception Handling : Java Programming with a duration of hours minute second in good quality, which was uploaded by the user Learn Programming Tricks 26 February 2022, share the link with friends and acquaintances, this video has already been watched 64 times on youtube and it was liked by 4 viewers. Enjoy your viewing!