Trigent Software Interview Question

How to Userdefined exceptions in spring boot