All exception classes are subtypes of the java.lang.Exception
class. The exception class is a subclass of the Throwable
class and Throwable
is a type of Object
. Other than the exception class there is another subclass called Error
which is also derived from the Throwable
class.
Info
In Java, exceptions that are subclasses of
Error
andRuntimeException
are unchecked exceptions. Everything else underThrowable
(that is, exceptions that are subclasses ofException
but notRuntimeException
) are checked exceptions.
Back to parent page: Java Standard Edition (Java SE) and Java Programming
Web_and_App_Development Programming_Languages Java Exception Exception_Hierarchy
Reference: