sprintf for what? This is just a plain string with no variable insertion. In addition to that the I' vr only changed the exception throwing, not the constructing of it.