Thrown when a non-blocking operation fails to get a lock, and {@link EnvironmentConfig#LOCK_OLD_LOCK_EXCEPTIONS} is set to true. Non-blockingtransactions are configured using {@link TransactionConfig#setNoWait}.
The {@link Transaction} handle is invalidated as a result of thisexception.
For compatibility with JE 3.3 and earlier, {@link LockNotGrantedException} is thrown instead of {@link LockNotAvailableException} when {@link EnvironmentConfig#LOCK_OLD_LOCK_EXCEPTIONS} is set to true. Thisconfiguration parameter is false by default. See {@link EnvironmentConfig#LOCK_OLD_LOCK_EXCEPTIONS} for information on the changesthat should be made to all applications that upgrade from JE 3.3 or earlier.
Normally, applications should catch the base class {@link LockConflictException} rather than catching one of its subclasses. All lockconflicts are typically handled in the same way, which is normally to abort and retry the transaction. See {@link LockConflictException} for moreinformation.
@deprecated replaced by {@link LockNotAvailableException}