126127128129130131132
obj.put("errmsg", e.getMessage()); obj.put("ok", Integer.valueOf(0)); documents.add(obj); } return new MongoReply(header, documents); }