Java Learner logo

Module 8: Exception Handling and Debugging

Lesson focus

Exception Hierarchy & Categories

Differentiate checked, unchecked, and error classes to choose appropriate handling strategies.

Checked exceptions (IOException) signal recoverable issues and must be declared or handled.

Unchecked exceptions (RuntimeException) represent programming errors or irrecoverable states within the current context.

Errors (OutOfMemoryError) typically cannot be handled safely—understand them to diagnose systemic issues.

Lesson quiz

Which statement about checked exceptions is true?

Next lesson →