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.