Package jakarta.transaction
Class RollbackException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- jakarta.transaction.RollbackException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class RollbackException extends Exception RollbackException exception is thrown when the transaction has been marked for rollback only or the transaction has been rolled back instead of committed. This is a local exception thrown by methods in theUserTransaction,Transaction, andTransactionManagerinterfaces.- Version:
- Jakarta Transactions 2.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description RollbackException()RollbackException(String msg)
 - 
Method Summary- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
RollbackExceptionpublic RollbackException() 
 - 
RollbackExceptionpublic RollbackException(String msg) 
 
- 
 
-