New exception management. Less exceptions... assume everything works

This commit is contained in:
Jonathan Leibiusky
2010-08-04 20:15:08 -03:00
parent b58ae0692c
commit 1df234153b
19 changed files with 399 additions and 454 deletions

View File

@@ -7,7 +7,7 @@ import redis.clients.jedis.JedisException;
public class JedisTest {
@Test(expected = JedisException.class)
public void useWithoutConnecting() throws JedisException {
public void useWithoutConnecting() {
Jedis jedis = new Jedis("localhost");
jedis.dbSize();
}