Uses of Class
com.sap.transaction.TxException

Packages that use TxException
com.sap.transaction   
 

Uses of TxException in com.sap.transaction
 

Subclasses of TxException in com.sap.transaction
 class TxDemarcationException
          A TxStackException is thrown to indicate that the TxManager has encountered an unbalanced sequence of transaction demarcation calls.
 class TxDuplicateOIDRegistrationException
          A TxDuplicateOIDRegistratrionException is thrown when an attempt to register a duplicate synchronization object with a different SID in a given synchtonization level is discovered.
 class TxRollbackException
          A TxRollbackException is thrown when a transaction is marked for rollback only or when it has been rolled back instead of committed.
 class TxSynchronizationException
          A TxSynchronizationException is thrown when a passed Synchronization object conflicts with another Synchronization object that has already been registered under the same synchronization id.
 

Methods in com.sap.transaction that throw TxException
static void TxManager.commitLevel(TransactionTicket txticket)
          Commmits the transaction level associated with the given transaction ticket.
 void ITxManager.commitLevel(TransactionTicket txticket)
          Commmits the transaction level associated with the given transaction ticket.
static Synchronization TxManager.getRegisteredSynchronization(String SID)
          Gets the Synchronization object previously registered with the current transaction under the given synchronization id (SID).
 Synchronization ITxManager.getRegisteredSynchronization(String SID)
          Gets the Synchronization object previously registered with the current transaction under the given synchronization id (SID).
 int ITxManager.getStatus()
          Gets the status of the current transaction
static boolean TxManager.isTxActive()
          Checks whether the transaction associated with the current thread is active.
 boolean ITxManager.isTxActive()
          Checks whether the transaction associated with the current thread is active.
static boolean TxManager.isTxMarkedRollback()
          Checks whether the transaction associated with the current thread is marked for rollback.
 boolean ITxManager.isTxMarkedRollback()
          Checks whether the transaction associated with the current thread is marked for rollback.
static void TxManager.leaveLevel(TransactionTicket ticket)
          Finishes and leaves the transaction level associated with the given transaction ticket.
 void ITxManager.leaveLevel(TransactionTicket txticket)
          Finishes and leaves the transaction level associated with the given transaction ticket.
static void TxManager.registerSynchronization(String SID, Synchronization sync)
          Registers the given Synchronization object with the current transaction.
 void ITxManager.registerSynchronization(String SID, Synchronization sync)
          Registers the given Synchronization object with the current transaction.
static TransactionTicket TxManager.required()
          Requires a new JTA transaction to be started or an already open transaction to be joined.
 TransactionTicket ITxManager.required()
          Requires a new JTA transaction to be started or an already open transaction to be joined.
static TransactionTicket TxManager.requiresNew()
          Requires a new transaction to be started.
 TransactionTicket ITxManager.requiresNew()
          Requires a new transaction to be started.
static void TxManager.setRollbackOnly()
          Marks the current JTA transaction for rollback.
 void ITxManager.setRollbackOnly()
          Marks the current JTA transaction for rollback.
 



Copyright 2010 SAP AG Complete Copyright Notice