Name
RollbackException
Synopsis
This exception is thrown when an invalid operation is requested on a
transaction that has either rolled back or been marked for
rollback-only. An example is calling
TransactionManager.enlistResource()
on such a transaction.
public class RollbackException extends Exception { // Public Constructors public RollbackException(); public RollbackException( String msg); }
Thrown By
Transaction.{commit()
, enlistResource()
, registerSynchronization()}
, TransactionManager.commit()
, UserTransaction.commit()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.