Fix exception text to match function name