Java Practice Examples - Module 6-2 Catching Basic Exceptions

preview_player
Показать описание


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
Рекомендации по теме