mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-09-25 03:31:07 +00:00
Moving the master branch to use jakarta based code and dependencies. Change to use ./jakarta-to-javax.sh to convert back to javax when releasing that.
22 lines
596 B
Java
22 lines
596 B
Java
package io.ebean;
|
|
|
|
import jakarta.persistence.PessimisticLockException;
|
|
|
|
/**
|
|
* Thrown when failing to acquire a pessimistic lock.
|
|
* <p>
|
|
* 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).
|
|
* </p>
|
|
*/
|
|
public class AcquireLockException extends PessimisticLockException {
|
|
private static final long serialVersionUID = -8585962352965876691L;
|
|
|
|
/**
|
|
* Create with a message and cause.
|
|
*/
|
|
public AcquireLockException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
}
|