Save This Page
Home » hibernate-entity-src-20081106 » javax » persistence » [javadoc | source]
javax.persistence
public class: RollbackException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            javax.persistence.PersistenceException
               javax.persistence.RollbackException

All Implemented Interfaces:
    Serializable

Thrown by the persistence provider when the EntityTransaction.commit() fails
Constructor:
 public RollbackException() 
 public RollbackException(Throwable cause) 
    Constructs a new RollbackException exception with the specified cause
    Parameters:
    cause - The detail cause
 public RollbackException(String message) 
    Constructs a new RollbackException exception with the specified detail message
    Parameters:
    message - The detail message
 public RollbackException(String message,
    Throwable cause) 
    Constructs a new RollbackException exception with the specified detail message and cause
    Parameters:
    message - The detail message
    cause - The detail cause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait