Package org.springframework.data.redis
Interface ExceptionTranslationStrategy
- All Known Implementing Classes:
FallbackExceptionTranslationStrategy
,PassThroughExceptionTranslationStrategy
public interface ExceptionTranslationStrategy
Potentially translates an
Exception
into appropriate DataAccessException
.- Since:
- 1.4
- Author:
- Christoph Strobl, Thomas Darimont
-
Method Summary
Modifier and TypeMethodDescriptionPotentially translate the givenException
intoDataAccessException
.
-
Method Details
-
translate
Potentially translate the givenException
intoDataAccessException
.- Parameters:
e
- must not be null.- Returns:
- can be null if given
Exception
cannot be translated.
-