ObjectDB ObjectDB

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

Constructor
javax.persistence.OptimisticLockException
OptimisticLockException(
  String message,
  Throwable cause,
  Object entity
)

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