Collabera interview question

write a program on customised exceptions