org.springframework.data.redis.connection.jedis
Class JedisExceptionConverter

java.lang.Object
  extended by org.springframework.data.redis.connection.jedis.JedisExceptionConverter
All Implemented Interfaces:
Converter<Exception,DataAccessException>

public class JedisExceptionConverter
extends Object
implements Converter<Exception,DataAccessException>

Converts Exceptions thrown from Jedis to DataAccessExceptions


Constructor Summary
JedisExceptionConverter()
           
 
Method Summary
 DataAccessException convert(Exception ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JedisExceptionConverter

public JedisExceptionConverter()
Method Detail

convert

public DataAccessException convert(Exception ex)
Specified by:
convert in interface Converter<Exception,DataAccessException>