Leinster get around to beat Exeter after a serious sweat.