Handling Exceptions in a Program