ObjectDB ObjectDB

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

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

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