Exception Handlers and Throwable Classes in Java Programming
Exception handlers are Try() and Catch blocks(). Error and Exception are two sub classes of throwable class
Try()and catch() are two blocks used for Exception handling Try () is used to throw Exception while catch is used to catch the Exception. Throwable is the base class in Exception classes. it is base class of Error and Exception classes .