Add first test to thorw MovedDataException when receiving MOVED from a cluster node

This commit is contained in:
Marcos Nils
2013-12-07 17:55:17 -03:00
parent 46966fb89f
commit a8987ed865
7 changed files with 775 additions and 13 deletions

View File

@@ -0,0 +1,17 @@
package redis.clients.jedis.exceptions;
public class JedisMovedDataException extends JedisDataException {
private static final long serialVersionUID = 3878126572474819403L;
public JedisMovedDataException(String message) {
super(message);
}
public JedisMovedDataException(Throwable cause) {
super(cause);
}
public JedisMovedDataException(String message, Throwable cause) {
super(message, cause);
}
}