For every exception block add code that handles the specific exception in the way intended by the application.