Violation in theory, but in practice it had better be REALLY obvious.
Also remember that means reaching across the sideline on a throw in on the side or the endline on the endline, but not across the sideline on a throw in from the endline, or vise versa.