Exception HandlingIt is a built in error handling mechanism. Against traditionalerror handling mechanism, usingexception handling, exceptionalsituations can be handled in easierand better way.The exception handling is builtupon three keywordsThe try keyword: It appears at the place where measures to be taken onerrors occured. Thestatements/method calls which areto be monitored for exceptions arecontained in try block.The catch keyword: If statementswritten in try block eventuallythrow exception, control isimmediately sent to matching catch block. A catch block should contain statements to take measureon the exception occured. Aftercatch block, program resumesexecution from the statementfollowed by last catch block.