HCLTech Interview Question

exception hierarchy