我有一个尝试从Googlemap网络服务API获取数据的多种方法的此类。如果一种方法失败,它会尝试另一种方法。等像这样的东西(伪代码):FUNCTIONFIND_ADDRESS(house_number,postcode)getlocationco-ordinatesforpostcodefromlocaldatabaseiflocationreturnsfalse,trygettinglocationfrommapsserviceifmapservicefails,return"postcodenotfound",exitgetaddresscomponentsusinglocati