Let (X,d) be a compact metric space, and let QubsetX be countable. Given functions R:Q→R+ and I¨:R+→R+, we consider the set E(Q,R,I¨) of points x∈X that ``hit'' the shrinking balls B(I^¾,I¨(R(I^¾))) for infinitely many I^¾∈Q, yet, for every I^µ∈(0,1), are eventually ``cleared out'' from the slightly smaller neighborhoods B(I^¾,(1−I^µ)I¨(R(I^¾))), that is, they lie outside all but finitely many of these smaller balls. We give sufficient conditions (also necessary under mild assumptions) for E(Q,R,I¨) to have infinite Hausdorff f-measure. This setting generalizes both the classical set Exact(I¨) of exactly I¨-approximable points (with I¨ non-increasing) and certain types of restricted Diophantine approximation sets.