Indeed.  However, the generic utility should not trust callbacks; the try-catch should be over there, and then isn't needed here.