ObjectDB ObjectDB

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

Constructor
javax.persistence.PessimisticLockException
PessimisticLockException(
  String message,
  Throwable cause
)

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