Uses of Class
org.springframework.transaction.TransactionException

Packages that use TransactionException
org.springframework.jdbc.datasource Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.  
org.springframework.orm.jdo Package providing integration of JDO with Spring concepts.  
org.springframework.transaction Exception hierarchy for Spring's transaction infrastructure, independent of any specific transaction management system.  
org.springframework.transaction.support Support classes for the org.springframework.transaction package.  
 

Uses of TransactionException in org.springframework.jdbc.datasource
 

Methods in org.springframework.jdbc.datasource that throw TransactionException
 java.lang.Object JdbcTransactionObjectSupport.createSavepoint()
          This implementation creates a JDBC 3.0 Savepoint and returns it.
 void JdbcTransactionObjectSupport.rollbackToSavepoint(java.lang.Object savepoint)
          This implementation rolls back to the given JDBC 3.0 Savepoint.
 void JdbcTransactionObjectSupport.releaseSavepoint(java.lang.Object savepoint)
          This implementation releases the given JDBC 3.0 Savepoint.
protected  ConnectionHolder JdbcTransactionObjectSupport.getConnectionHolderForSavepoint()
           
 

Uses of TransactionException in org.springframework.orm.jdo
 

Methods in org.springframework.orm.jdo that throw TransactionException
 java.lang.Object DefaultJdoDialect.beginTransaction(javax.jdo.Transaction transaction, TransactionDefinition definition)
          This implementation invokes the standard JDO Transaction.begin method.
 java.lang.Object JdoDialect.beginTransaction(javax.jdo.Transaction transaction, TransactionDefinition definition)
          Begin the given JDO transaction, applying the semantics specified by the given Spring transaction definition (in particular, an isolation level and a timeout).
 

Uses of TransactionException in org.springframework.transaction
 

Subclasses of TransactionException in org.springframework.transaction
 class CannotCreateTransactionException
          Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.
 class HeuristicCompletionException
          Exception that represents a transaction failure caused by heuristics.
 class IllegalTransactionStateException
          Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies.
 class InvalidIsolationLevelException
          Exception that gets thrown when an invalid isolation level is specified, i.e. an isolation level that the transaction manager implementation doesn't support.
 class InvalidTimeoutException
          Exception that gets thrown when an invalid timeout is specified, i.e. the transaction manager implementation doesn't support timeouts.
 class NestedTransactionNotSupportedException
          Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend.
 class NoTransactionException
          Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction.
 class TransactionSuspensionNotSupportedException
          Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend.
 class TransactionSystemException
          Exception thrown when a general transaction system error is encountered, like on commit or rollback.
 class TransactionUsageException
          Superclass for exceptions caused by inappropriate usage of a Spring transaction API.
 class UnexpectedRollbackException
          Thrown when an attempt to commit a transaction resulted in an unexpected rollback
 

Methods in org.springframework.transaction that throw TransactionException
 TransactionStatus PlatformTransactionManager.getTransaction(TransactionDefinition definition)
          Return a currently active transaction or create a new one.
 void PlatformTransactionManager.commit(TransactionStatus status)
          Commit the given transaction, with regard to its status.
 void PlatformTransactionManager.rollback(TransactionStatus status)
          Roll back the given transaction, with regard to its status.
 java.lang.Object SavepointManager.createSavepoint()
          Create a new savepoint.
 void SavepointManager.rollbackToSavepoint(java.lang.Object savepoint)
          Roll back to the given savepoint.
 void SavepointManager.releaseSavepoint(java.lang.Object savepoint)
          Explicitly release the given savepoint.
 

Uses of TransactionException in org.springframework.transaction.support
 

Methods in org.springframework.transaction.support that throw TransactionException
 java.lang.Object DefaultTransactionStatus.createSavepoint()
          This implementation delegates to the transaction object if it implements the SavepointManager interface.
 void DefaultTransactionStatus.rollbackToSavepoint(java.lang.Object savepoint)
          This implementation delegates to the transaction object if it implements the SavepointManager interface.
 void DefaultTransactionStatus.releaseSavepoint(java.lang.Object savepoint)
          This implementation delegates to the transaction object if it implements the SavepointManager interface.
 void DefaultTransactionStatus.createAndHoldSavepoint()
          Create a savepoint and hold it for the transaction.
 void DefaultTransactionStatus.rollbackToHeldSavepoint()
          Roll back to the savepoint that is held for the transaction.
 void DefaultTransactionStatus.releaseHeldSavepoint()
          Release the savepoint that is held for the transaction.
 TransactionStatus AbstractPlatformTransactionManager.getTransaction(TransactionDefinition definition)
          This implementation of getTransaction handles propagation behavior.
 void AbstractPlatformTransactionManager.commit(TransactionStatus status)
          This implementation of commit handles participating in existing transactions and programmatic rollback requests.
 void AbstractPlatformTransactionManager.rollback(TransactionStatus status)
          This implementation of rollback handles participating in existing transactions.
protected abstract  java.lang.Object AbstractPlatformTransactionManager.doGetTransaction()
          Return a current transaction object, i.e. a JTA UserTransaction.
protected abstract  boolean AbstractPlatformTransactionManager.isExistingTransaction(java.lang.Object transaction)
          Check if the given transaction object indicates an existing, i.e. already begun, transaction.
protected abstract  void AbstractPlatformTransactionManager.doBegin(java.lang.Object transaction, TransactionDefinition definition)
          Begin a new transaction with the given transaction definition.
protected abstract  java.lang.Object AbstractPlatformTransactionManager.doSuspend(java.lang.Object transaction)
          Suspend the resources of the current transaction.
protected abstract  void AbstractPlatformTransactionManager.doResume(java.lang.Object transaction, java.lang.Object suspendedResources)
          Resume the resources of the current transaction.
protected abstract  void AbstractPlatformTransactionManager.doCommit(DefaultTransactionStatus status)
          Perform an actual commit on the given transaction.
protected abstract  void AbstractPlatformTransactionManager.doRollback(DefaultTransactionStatus status)
          Perform an actual rollback on the given transaction.
protected abstract  void AbstractPlatformTransactionManager.doSetRollbackOnly(DefaultTransactionStatus status)
          Set the given transaction rollback-only.
 java.lang.Object TransactionTemplate.execute(TransactionCallback action)
          Execute the action specified by the given callback object within a transaction.
 



Copyright (C) 2003-2004 The Spring Framework Project.