computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
983 B
16 lines
983 B
2 years ago
|
# 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 -
|
||
2 years ago
|
|
||
2 years ago
|
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:
|
||
|
|
||
9 months ago
|
- [@video@Understanding Java Exceptions](https://www.youtube.com/watch?v=W-N2ltgU-X4)
|
||
8 months ago
|
- [@article@Mastering Java Exception Handling: A Comprehensive Guide](https://naveen-metta.medium.com/mastering-java-exception-handling-a-comprehensive-guide-a897b8020582)
|
||
|
- [@article@Exception Handling in Java](https://www.javatpoint.com/exception-handling-in-java)
|