Merge pull request #189 from vsoskov/jedis

---

the exception is returned in the list with the not formatted and formatted values.
Response.get throws the exception.
This commit is contained in:
Eric Hauser
2011-09-13 23:08:20 -04:00
7 changed files with 93 additions and 4 deletions

View File

@@ -114,7 +114,11 @@ public final class Protocol {
}
List<Object> ret = new ArrayList<Object>(num);
for (int i = 0; i < num; i++) {
ret.add(process(is));
try{
ret.add(process(is));
}catch(JedisDataException e){
ret.add(e);
}
}
return ret;
}