Package org.hibernate.dialect.lock
Class LockingStrategyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.dialect.lock.LockingStrategyException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OptimisticEntityLockException
,PessimisticEntityLockException
public abstract class LockingStrategyException extends HibernateException
Represents an error trying to apply aLockingStrategy
to an entity- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockingStrategyException(Object entity, String message)
Constructs a LockingStrategyExceptionLockingStrategyException(Object entity, String message, Throwable cause)
Constructs a LockingStrategyException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getEntity()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-