FileDocCategorySizeDatePackage
RollbackException.javaAPI DocGlassfish v2 API3279Fri May 04 22:34:08 BST 2007javax.persistence

RollbackException

public class RollbackException extends PersistenceException
Thrown by the persistence provider when the {@link EntityTransaction#commit() EntityTransaction.commit()} fails.
see
javax.persistence.EntityTransaction#commit()
since
Java Persistence 1.0

Fields Summary
Constructors Summary
public RollbackException()
Constructs a new RollbackException exception with null as its detail message.

		super();
	
public RollbackException(String message)
Constructs a new RollbackException exception with the specified detail message.

param
message the detail message.

		super(message);
	
public RollbackException(String message, Throwable cause)
Constructs a new RollbackException exception with the specified detail message and cause.

param
message the detail message.
param
cause the cause.

		super(message, cause);
	
public RollbackException(Throwable cause)
Constructs a new RollbackException exception with the specified cause.

param
cause the cause.

		super(cause);
	
Methods Summary