Exceptions and Exception Handling
In this module, you will learn what exceptions are, why they are the better way for error handling than returning error codes, and how to use them within Java. You will learn about the built-in exceptions as well as how to create your own. Topics covered include:
- What are exceptions?
- Why exceptions?
- Built-in exceptions
- Exception life-cycle
- Handling exceptions
- Throwing exceptions
- Exception types: checked vs. unchecked
- Creating new exceptions
- Grouping and nesting exceptions