start = errorJson.indexOf(errorFlag);
start = start + errorFlag.length() + 2;// ":2个字符
String errorCode = errorJson.substring(start);
end = errorCode.indexOf(",");
errorCode = errorCode.substring(0, end).trim();
RenrenApiException exception = new RenrenApiException(Integer.parseInt(errorCode), errorMsg);
return exception;
}