EZP-20540: add exception to stub service implementation