throw exception when config item miss.