Package org.hibernate
Class OptimisticLockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class OptimisticLockException extends OptimisticEntityLockException
Deprecated.UseOptimisticEntityLockException
insteadThrow when an optimistic locking conflict occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptimisticLockException(java.lang.Object entity, java.lang.String message)
Deprecated.Constructs a OptimisticLockException using the specified information.
-
Method Summary
-
Methods inherited from class org.hibernate.dialect.lock.LockingStrategyException
getEntity
-
-
-
-
Constructor Detail
-
OptimisticLockException
public OptimisticLockException(java.lang.Object entity, java.lang.String message)
Deprecated.Constructs a OptimisticLockException using the specified information.- Parameters:
entity
- The entity instance that could not be lockedmessage
- A message explaining the exception condition
-
-