Exception Handling Introduction

Exception :-
  • An unwanted, unexpected event that distrubs the normal flow of a program is called an Exception.
What is the purpose of Exception Handling?
  • It is highly recomended to handle the exceptions and the main objective of exception handling is graceful termination of the program.
  • Exception handling doesn't mean repairing an Exception we have to provide alternative way to continue rest of the program normally is the concept of Exception Handling.
  • for example: our programming requirments is to read data from remote file locating at london at runtime if london file is not available our program should not be terminated abnormally we have to provide some local file to continue rest of the program normally this way of defining alternative is nothing but exception handling.


No comments:

Post a Comment

Quote of the day

Popular Posts

Featured Post

Collection Framework Overview

Collection:- A collection (sometimes called a container) is simply an object that groups multiple elements into single unit. Collect...

Youtube Page

Facebook Page

Recent Posts

About

I am Shivaji Chandra and I'm a Computer Science Engineer. I love to write poems, jokes and quotes. click here →