Cognizant Interview Question

Creating Custom Exceptions, Inheritance with exception handling