javax.transaction
Class RollbackException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.transaction.RollbackException
All Implemented Interfaces:
java.io.Serializable

public class RollbackException
extends java.lang.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 the UserTransaction, Transaction, and TransactionManager interfaces.

See Also:
Serialized Form

Constructor Summary
RollbackException()
           
RollbackException(java.lang.String msg)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RollbackException

public RollbackException()

RollbackException

public RollbackException(java.lang.String msg)