JPA Exception

RollbackException

java.lang.Object
  ∟ java.lang.Throwable
    ∟ java.lang.Exception
      ∟ java.lang.RuntimeException
        ∟ javax.persistence.PersistenceException
          ∟ javax.persistence.RollbackException

Thrown by the persistence provider when () EntityTransaction.commit() fails.
See Also:
javax.persistence.EntityTransaction.commit()
Since:
JPA 1.0

Public Constructors

Constructs a new RollbackException exception with null as its detail message.
Since:
JPA 1.0
RollbackException(String message)
Constructs a new RollbackException exception with the specified detail message.
Parameters:
message - the detail message.
Since:
JPA 1.0
RollbackException(String message, Throwable cause)
Constructs a new RollbackException exception with the specified detail message and cause.
Parameters:
message - the detail message.
cause - the cause.
Since:
JPA 1.0
RollbackException(Throwable cause)
Constructs a new RollbackException exception with the specified cause.
Parameters:
cause - the cause.
Since:
JPA 1.0