Added some custom exceptions