A characterization for a class of actuarial risk measures