previous | start | next

## Hierarchy of Exception Classes

- Base of hierarchy: `Throwable`
- Two subclasses: `Error`, `Exception`
- Subclasses of `Error`: fatal
  (out of memory, assertion failure)
- Subclasses of `Exception:`
- - Lots of checked exceptions
    (I/O, class not found)
  - `RuntimeException`--its subclasses are unchecked
    (null pointer, index out of bounds)

previous | start | next