change throw exception when getObject return empty result