} else {
Gson gson = new Gson();
if (respBody.indexOf("{\"errcode\"") == 0
|| respBody.indexOf("{\"errmsg\"") == 0) {
WxRespCode exJson = gson.fromJson(respBody,
WxRespCode.class);
if (WxRespCode.class.getName().equals(
resultClass.getName())
&& exJson.getErrcode() == 0) {
return (T) exJson;
} else {
throw new WxException(exJson);
}
}