java.lang.Throwable
(not java.lang.Exception
) is the base class of all classes that can be thrown. java.lang.Throwable
are java.lang.Throwable
is either checked or unchecked. catch
the exception. java.lang.Error
java.lang.RuntimeException
java.lang.Exception