A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

Introduction of Exception Handling

What is an exception?

An expected and unwanted event that disturb normal flow of the program.
1. in real-life:
TyrePunchuredException, sleepingException
2. in application: fileNotFoundException, invalidDate entered, Connection fails etc.

Exception handling doesn’t mean repairing an exception, we have to provide an alternative way to continue rest of the program normally.
It is called Exception handling.