public class FallbackExceptionTranslationStrategy extends PassThroughExceptionTranslationStrategy
| Constructor and Description |
|---|
FallbackExceptionTranslationStrategy(Converter<Exception,DataAccessException> converter) |
| Modifier and Type | Method and Description |
|---|---|
protected RedisSystemException |
getFallback(Exception e)
Returns a new
RedisSystemException wrapping the given Exception. |
DataAccessException |
translate(Exception e)
Potentially translate the given
Exception into DataAccessException. |
public FallbackExceptionTranslationStrategy(Converter<Exception,DataAccessException> converter)
public DataAccessException translate(Exception e)
ExceptionTranslationStrategyException into DataAccessException.translate in interface ExceptionTranslationStrategytranslate in class PassThroughExceptionTranslationStrategyprotected RedisSystemException getFallback(Exception e)
RedisSystemException wrapping the given Exception.e -