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

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

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