Checked Exceptions vs. Unchecked
Exceptions
• RuntimeException, Error and their subclasses are
known as unchecked exceptions. All other exceptions
are known as checked exceptions, meaning that the
compiler forces the programmer to check and deal with
the exceptions.