Quest Global Interview Question

how to write custom exception