Vanishing Homology Characterizes Exactness