A more informative exception is thrown from runNamedCar when an unknown car name is given.
runNamedCar