Infosys Interview Question

What is CustomException and how to achieve that