Accenture interview question

Parent exception class