Interface JdbcOptimisticLockingExceptionMapper
-
- All Known Implementing Classes:
DefaultJdbcOptimisticLockingExceptionMapper
public interface JdbcOptimisticLockingExceptionMapperMapper allowing different JDBC vendors to be mapped with vendor specific error codes to anOptimisticLockingAggregationRepository.OptimisticLockingException}.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisOptimisticLocking(Exception cause)Checks the caused exception whether its to be considered as anOptimisticLockingAggregationRepository.OptimisticLockingException.
-
-
-
Method Detail
-
isOptimisticLocking
boolean isOptimisticLocking(Exception cause)
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.
-
-