added constructors to custom exceptions