public List<Comment> obtainComments(Status s) { CommentWapper commentWapper = null; if (!jcUser.isBackupComment()) return null; try { commentWapper = c.getCommentById(s.getId()); commentCount += commentWapper.getComments().size(); LOG.debug(++callCount + "st call weibo api (now is comments)"); } catch (WeiboException e) { LOG.error( "occured a exception when obtaining comments status'id=" + s.getId() + ", Exception:" + e); LOG.error(++callCount + "st call weibo api (now is comments) cause error"); // outOfLimit = true; jcUser.setOutOfLimit(true); } if (commentWapper != null) return commentWapper.getComments(); else return null; }