We receive exceptions every now and then, irrespective of the programming language we will be using. These exceptions are sometimes user-defined and sometimes errors. How to handle such exceptions which are errors and how to add exceptions in our program. All these questions will be discussed here.