Visit complete Java roadmap

← Back to Topics List

Exception Handling

Exception Handling in Java is one of the effective means to handle the runtime errors so that the regular flow of the application can be preserved. Java Exception Handling is a mechanism to handle runtime errors such as ClassNotFoundException, IOException, SQLException, RemoteException, etc.

There are three types of exceptions -

  1. Checked Exception - exceptions checked at compile time. Example - IOException
  2. Unchecked Exception - exceptions checked at run time. Example - NullPointerException
  3. Error - It is irrecoverable. Example - OutOfMemoryError

Visit the following resources to learn more:

Resources Community KGx AICbe YouTube

by Devansh Shukla

"AI Tamil Nadu formely known as AI Coimbatore is a close-Knit community initiative by Navaneeth with a goal to offer world-class AI education to anyone in Tamilnadu for free."