I guess the question that comes to mind is: If it's okay to discipline a cat this way, why can't I do it with a baby human?
Don't throw animals around. In my opinion, it is kind of fucked up. Spray them with a water bottle or use some sort of noise deterrent.