javax.persistence.RollbackException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa-api Show documentation
Show all versions of jpa-api Show documentation
Hibernate developmental JSR 317 (Java Persistence API 2.0) contracts. Used to
allow incremental implementation of features on the way to full JPA 2.0 support.
The newest version!
// $Id: RollbackException.java 16130 2009-03-10 14:28:07Z hardy.ferentschik $
// EJB3 Specification Copyright 2004-2009 Sun Microsystems, Inc.
package javax.persistence;
/**
* Thrown by the persistence provider when the EntityTransaction.commit() fails
*
* @author Emmanuel Bernard
*/
public class RollbackException extends PersistenceException {
/**
* Constructs a new RollbackException exception with null as its detail message
*/
public RollbackException() {
super();
}
/**
* Constructs a new RollbackException exception with the specified cause
*
* @param cause The detail cause
*/
public RollbackException(Throwable cause) {
super( cause );
}
/**
* Constructs a new RollbackException exception with the specified detail message
*
* @param message The detail message
*/
public RollbackException(String message) {
super( message );
}
/**
* Constructs a new RollbackException exception with the specified detail message and cause
*
* @param message The detail message
* @param cause The detail cause
*/
public RollbackException(String message, Throwable cause) {
super( message, cause );
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy