Correct exception when driver type is not recognized