Top Description Constructors Methods
org.hibernate.dialect.lock

public Class OptimisticEntityLockException

extends LockingStrategyException
Class Inheritance
Known Direct Subclasses
org.hibernate.OptimisticLockException

Represents an error trying to apply an optimistic LockingStrategy to an entity
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
OptimisticEntityLockException(Object
The entity we were trying to lock
entity
,
String
Message explaining the condition
message
)

Constructs a OptimisticEntityLockException

public
OptimisticEntityLockException(Object
The entity we were trying to lock
entity
,
String
Message explaining the condition
message
,
Throwable
The underlying cause
cause
)

Constructs a OptimisticEntityLockException

Method Summary

Inherited from org.hibernate.dialect.lock.LockingStrategyException:
getEntity

Constructor Detail

OptimisticEntityLockExceptionback to summary
public OptimisticEntityLockException(Object entity, String message)

Constructs a OptimisticEntityLockException

Parameters
entity:Object

The entity we were trying to lock

message:String

Message explaining the condition

OptimisticEntityLockExceptionback to summary
public OptimisticEntityLockException(Object entity, String message, Throwable cause)

Constructs a OptimisticEntityLockException

Parameters
entity:Object

The entity we were trying to lock

message:String

Message explaining the condition

cause:Throwable

The underlying cause