- All Implemented Interfaces:
public class AcquireLockException extends javax.persistence.PessimisticLockException
Thrown when failing to acquire a pessimistic lock.
Typically when "select for update nowait" or "select for update" is being used and the lock can not be obtained (as it is held by another transaction).
- See Also:
Methods inherited from class javax.persistence.PessimisticLockException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
AcquireLockExceptionCreate with a message and cause.