A temper tantrum - specifically thrown by a young child who doesn't get what he or she wants.
I was shopping for bread when Johnnie decided to throw a spak on the floor of the supermarket.