Classifying throwable types by inheritance

A developer is documenting three Java failure classes, using one supporting relationship as context. The relevant inheritance relationships are given below; extends names a class's immediate parent.


Java
IOException extends Exception
IllegalArgumentException extends RuntimeException
RuntimeException extends Exception
AssertionError extends Error


Complete the report. Use checked or unchecked for the first two blanks and the appropriate parent class name for the last blank.

  • Exception category of IOException:
  • Exception category of IllegalArgumentException:
  • AssertionError belongs to the branch rather than the Exception branch.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Exceptions and Error Types Questions: