UST Interview Question

Custom exception with example