http://official.nba.com/wp-content/u...12-26-2017.pdf
Final comment states:
"Chandler (PHX) legally touches the ball above the cylinder on the inbound pass. Goaltending rules do not apply because he
makes contact with the ball off of a throw-in and not a live ball that has already legally been touched on the playing court."
Obviously NBA ruleset differs from other levels.