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.
In the United States, rock-throwing could be a felony[14][15] and rock-throwers could face criminal charges, dependent on the circumstances that may include second degree murder,[16] aggravated assault, throwing a missile into an occupied vehicle, criminal possession of a weapon, reckless endangerment of life, and aggravated assault with a lethal weapon.[10][17][18] Punishment upon conviction varies as with all punishments for all crimes. A Florida judge sentenced a teenager to serve life in prison for throwing rocks at cars.[16]
A New England judge, ruling on teenagers convicted of throwing stones at passing trains, at windows, resulting in eye injuries to passengers, sentenced them to be kept in an eye-injury ward of a hospital for two weeks with their eyes bandaged, in order to make them understand the consequence of their delinquency.[19]
Rock throwers can be charged, tried and convicted even when no injuries or damage result.[20]