Interface JdbcOptimisticLockingExceptionMapper
- All Known Implementing Classes:
DefaultJdbcOptimisticLockingExceptionMapper
public interface JdbcOptimisticLockingExceptionMapper
Mapper allowing different JDBC vendors to be mapped with vendor specific error codes to an
OptimisticLockingAggregationRepository.OptimisticLockingException}.-
Method Summary
Modifier and TypeMethodDescriptionbooleanisOptimisticLocking(Exception cause) Checks the caused exception whether its to be considered as anOptimisticLockingAggregationRepository.OptimisticLockingException.
-
Method Details
-
isOptimisticLocking
Checks the caused exception whether its to be considered as anOptimisticLockingAggregationRepository.OptimisticLockingException.- Parameters:
cause- the caused exception- Returns:
- true if the caused should be rethrown as an
OptimisticLockingAggregationRepository.OptimisticLockingException.
-