If someone threatens to “throw the book at you” it probably means you’ve done something pretty bad, because we use this phrase to mean punish you severely, or more commonly to charge you for as many things as possible in a court or hearing of the law! (the book in this case means a book of laws, and nobody is actually going to throw anything… hopefully…).