PessimisticLockException(message, cause, entity) - JPA PessimisticLockException's constructor

Constructor
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