Code example for JsonSyntaxException

Methods: getMessage

0
        try { 
            value = new Gson().fromJson(json, new TypeToken<List<MessageReCmtCountBean>>() {
            }.getType());
        } catch (JsonSyntaxException e) {
 
            AppLogger.e(e.getMessage());
        } 
 
 
        return value;
    } 
 
 
    private String access_token;
    private List<String> msgIds;
 
    public TimeLineReCmtCountDao(String access_token, List<String> msgIds) {
        if (msgIds == null)
            throw new IllegalArgumentException("msgIds cant be null");
        int size = (msgIds.size() >= 100 ? 99 : msgIds.size());
Contextual code suggestions in your IDE  Get Codota for Java