Added custom exception to interfaces