CFY-783 refactored rest service exceptions