What is the base class of all exception classes?
java.lang.throwable is the base class of all exception classes.
It is the super class of all exception classes and all exception classes are derived from this base class.
It has two direct subclasses- Exception and Error. Exceptions are thrown to signal abnormal conditions that can often be handled by some catcher, though it's possible they may not be caught and therefore could result in a dead thread. Errors are usually thrown for more serious problems, that may not be so easy to handle.Errors are usually thrown by the methods of the Java API, or by the Java virtual machine itself.