Package org.springframework.data.redis
Class PassThroughExceptionTranslationStrategy
java.lang.Object
org.springframework.data.redis.PassThroughExceptionTranslationStrategy
- All Implemented Interfaces:
- ExceptionTranslationStrategy
- Direct Known Subclasses:
- FallbackExceptionTranslationStrategy
public class PassThroughExceptionTranslationStrategy
extends Object
implements ExceptionTranslationStrategy
PassThroughExceptionTranslationStrategy returns null for unknown Exceptions.- Since:
- 1.4
- Author:
- Christoph Strobl, Mark Paluch
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionPotentially translate the givenExceptionintoDataAccessException.
- 
Constructor Details- 
PassThroughExceptionTranslationStrategy
 
- 
- 
Method Details- 
translateDescription copied from interface:ExceptionTranslationStrategyPotentially translate the givenExceptionintoDataAccessException.- Specified by:
- translatein interface- ExceptionTranslationStrategy
- Parameters:
- e- must not be null.
- Returns:
- can be null if given Exceptioncannot be translated.
 
 
-