He said he thought he had hit a dog or a cat , or someone had thrown a rock at his car , the police said .