javax.persistence
public class PersistenceException extends java.lang.RuntimeException
Constructor and Description |
---|
PersistenceException()
Constructs a new PersistenceException exception with null as its detail message.
|
PersistenceException(java.lang.String message)
Constructs a new PersistenceException exception with the specified detail message.
|
PersistenceException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new PersistenceException exception with the specified detail message and cause
|
PersistenceException(java.lang.Throwable cause)
Constructs a new PersistenceException exception with the specified cause
|
public PersistenceException()
public PersistenceException(java.lang.String message)
message
- the detail messagepublic PersistenceException(java.lang.String message, java.lang.Throwable cause)
message
- the detail messagecause
- the causepublic PersistenceException(java.lang.Throwable cause)
cause
- the cause