Class LockingStrategyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.dialect.lock.spi.LockingStrategyException
- All Implemented Interfaces:
Serializable
An error applying a
LockingStrategy to an entity.- Since:
- 8.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLockingStrategyException(Object entity, String message) Creates a locking failure for the given entity and message.LockingStrategyException(Object entity, String message, Throwable cause) Creates a locking failure for the given entity, message, and underlying cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LockingStrategyException
-
LockingStrategyException
-
-
Method Details
-
getEntity
The entity for which locking failed.
-