Lecture 5

Java Exceptions

Learning Outcomes

At the end of this lecture, you’ll be able to:

Lecture Plan

In this lecture, we'll cover the following lessons:

  1. Java Programs with Exceptions: A robust method
  2. Java Programs with Exceptions: Unit Testing
  3. Java Programs with Exceptions: Throw an Exception!
  4. Java Programs with Exceptions: Exercise
  5. Java Programs with Exceptions: Custom Exceptions
  6. Java Interlude: Exception Hierarchies
  7. Java Interlude: Two Types of Exceptions
  8. Exercise: LengthException

Lessons marked with ⚡ contain exercise/activity.

Downloads