fixing Issue 188

This commit is contained in:
Vladimir Soskov
2011-07-31 19:50:16 -07:00
parent 6c3ec9fc14
commit 22d4d3fc53
6 changed files with 87 additions and 3 deletions

View File

@@ -24,6 +24,9 @@ public class Response<T> {
"Please close pipeline or multi block before calling this method.");
}
if (!built) {
if (data instanceof JedisDataException){
throw new JedisDataException((JedisDataException)data);
}
response = builder.build(data);
this.data = null;
built = true;