What is a Throwable class?
- It is the superclass of all errors and exceptions in Java.
- It contains a snapshot of the execution stack of its thread at the time it was created.
- In throwable class, a message string gives more information about the error.
Declaration of Throwable class: public class Throwable
extends Object
implements Serializable