Raises exception when platform unknown.