Exception Handling Throwing Exceptions What is a good program? A program that isreliable? Not just giving correct answer on correct input Should protect against…