java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.PessimisticLockException
io.ebean.AcquireLockException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionAcquireLockException
(String message, Throwable cause) Create with a message and cause. -
Method Summary
Methods inherited from class javax.persistence.PessimisticLockException
getEntity
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcquireLockException
Create with a message and cause.
-