Overview
Exceptions are used to notify and handle errors and other exceptional events occurring during the execution of a program.
Oracle Java Tutorial links
- Use throw and throws statements.
- Use the try statement with multi-catch, and finally clauses.
- Autoclose resources with a try-with-resources statement.
- Create custom exceptions.
- Test invariants by using assertions.
Exercises
Additional exercises coming soon
Additional exercises are coming. Check back soon.