Lesson 1Introduction to Java Exceptions
This module discusses a key part of the Java language and libraries: exceptions. Exceptions are Java's way of reporting and working with errors. They allow programmers to explicitly and formally define a control flow for errors, and they separate error detection from error handling.
By the end of the module, you should be able to:
- Describe why exceptions occur
- Catch exceptions
- Throw exceptions
- Make your own exceptions
- Be able to use the finally keyword