Working on exception handling at the time of initalization of the program