Enforce sprintf for exceptions