code: public void afterThrowing(Method m, Object[] args, Object target, ConcurrencyFailureException e)
              throws OptimisticLockingException {
          handleOptimisticLockingException(target, e);
      }
docs: Spring exception for Optimistic Locking.