we have standardize to use `sprintf` for exception messages.