ObjectDB ObjectDB

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

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

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