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 givenExceptionintoDataAccessException.
-
Method Details
-
translate
Potentially translate the givenExceptionintoDataAccessException.- Parameters:
e- must not be null.- Returns:
- can be null if given
Exceptioncannot be translated.
-