When you attempt to get a write lock on an item, the following exceptions may arise:
If you get a deadlock when you call
getItemorgetItemForUpdate, aRepositoryExceptionis thrown.If you are using
isolationLevel="repeatableRead"and you are unable to convert a read lock to a write lock (presumably because another transaction was trying to do the same thing at the same time), aConcurrentUpdateExceptionis thrown.If you are calling a method, such as
setPropertyValue, which does not throw aRepositoryException, you get anIllegalArgumentExceptioninstead.

