Java Learner logo

Module 8: Exception Handling and Debugging

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.

Advertisement

Lesson check

Which statement about checked exceptions is true?

Next lesson →