Is it a throw-in violation or a floor violation?
If it's a throw-in violation, then the resulting throw-in is at the spot of the original throw-in.
If it's a floor violation, then the resulting throw-in is at the spot where the ball went OOB.
(I'm not gonna tell you which answer is right. You'll get it.

)