if (responseCode != OK)
{
log(response.asString());
try {
throw new WeiboException(getCause(responseCode),
response.asJSONObject(), responseCode);
} catch (JSONException e) {
e.printStackTrace();
}
}
return response;
} catch (IOException ioe) {
throw new WeiboException(ioe.getMessage(), ioe, responseCode);
} finally {
method.releaseConnection();
}
}