Added custom exceptions