Pergunta de entrevista da empresa ADP

implement your own exception class. I just created a class with extending a Exception class. but he was not satisfied.