bogref_jed...
ref0909 and hoopsrefbc are exactly right with their information except for the throw in spot following a shot clock violation...it is nearest the area where the shot was taken, not necessarily on the end line.
the best place to gather the info you are looking for is
http://www.fiba.com in the Rules & Regulations download section. On page 11 of the Intrepretation of the Rules document, you will find every possible shot clock scenario and its appropriate interpretation. Hope this helps.
Jeff