I have a piece of code with around 100 lines and in between those lines of code two types of exceptions are usually coming up that shows as compile error and need to handle