IonIdea interview question

To Write a Customised exception Program