private IEnumerable<GoogleAddress> ProcessRequest(HttpWebRequest request)
{
try
{
using (WebResponse response = request.GetResponse())
{
return ProcessWebResponse(response);
}
}
catch (GoogleGeocodingException)
{
//let these pass through
throw;
}
catch (Exception ex)
{
//wrap in google exception
throw new GoogleGeocodingException(ex);
}
}