You're joking.
Obviously I’m not joking. I don’t know what the laws are there but in the U.S. if someone throws rocks at you it’s assault with a deadly weapon or battery or aggravated assault or whatever.
If they throw rocks at your car it’s vandalism or malicious mischief.