If I remember right the warranty on factory paint is 12,000 miles or 1 year I'm not 100% sure on this though I know some people who have had a car a few years old and had paint defects still get the car repainted through warranty.
It would be a PITA trying to get the dealer to cover a rock...