Creating custom exceptions