Java Practice Examples - Module 6-2 Catching Basic Exceptions

Published: 14 June 2023
on channel: Access 2 Learn
60
2

https://access2learn.com/classes-i-te... - Sample files and notes available at this location.

The best way to get better at programming is to practice. If you want more practice, consider our whole series on Java programming examples:    • Java Practice Programming Examples  

In this series, we'll be using the free Visual Studio Code to develop and test our code samples.

-- Video Description --
In this video we look at basic ways to catch exception inside of Java code.
We look at how to use the generic Exception object to catch any and all exceptions, which has some benefits, while also starting to think about what types of actions do we want to perform when we catch an exception, as well as if we really want to test all of our code or not.

-- Video Chapters --
00:00 - Introduction
00:40 - try/catch blocks
01:11 - The Generic Exception Object
01:28 - What to do inside of the catch block
02:02 - Using the Exception Object
02:26 - Figuring out What Exception was caught


Watch video Java Practice Examples - Module 6-2 Catching Basic Exceptions online without registration, duration hours minute second in high quality. This video was added by user Access 2 Learn 14 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 60 once and liked it 2 people.