added exception handler for definition execution