Wipro Interview Question

how to implement custom exception