JPA Constructor
in javax.persistence.PessimisticLockException

PessimisticLockException(
  String message, 
  Throwable cause, 
  Object entity
)


Constructs a new PessimisticLockException exception with the specified detail message, cause, and entity.
Parameters:
message - the detail message.
cause - the cause.
entity - the entity.
Since:
JPA 2.0