EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference

org.eclipse.persistence.exceptions
Class TransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.persistence.exceptions.EclipseLinkException
                  extended by org.eclipse.persistence.exceptions.TransactionException
All Implemented Interfaces:
java.io.Serializable

public class TransactionException
extends EclipseLinkException

See Also:
Serialized Form

Field Summary
static int CANNOT_ENLIST_MULTIPLE_DATASOURCES
           
static int ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED
           
static int ERROR_BEGINNING_TRANSACTION
           
static int ERROR_BINDING_TO_TRANSACTION
           
static int ERROR_COMMITTING_TRANSACTION
           
static int ERROR_DOING_JNDI_LOOKUP
           
static int ERROR_GETTING_TRANSACTION
           
static int ERROR_GETTING_TRANSACTION_STATUS
           
static int ERROR_INACTIVE_UOW
           
static int ERROR_MARKING_TRANSACTION_FOR_ROLLBACK
           
static int ERROR_NO_ENTITY_TRANSACTION_ACTIVE
           
static int ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE
           
static int ERROR_NO_TRANSACTION_ACTIVE
           
static int ERROR_OBTAINING_TRANSACTION_MANAGER
           
static int ERROR_ROLLING_BACK_TRANSACTION
           
static int ERROR_TRANSACTION_IS_ACTIVE
           
static int EXCEPTION_IN_PROXY_EXECUTION
           
 
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
 
Constructor Summary
TransactionException(java.lang.String message)
           
TransactionException(java.lang.String message, java.lang.Exception internalException)
           
 
Method Summary
static TransactionException entityTransactionNotActive()
           
static TransactionException entityTransactionWithJTANotAllowed()
           
static TransactionException errorBeginningExternalTransaction(java.lang.Exception internalException)
           
static TransactionException errorBindingToExternalTransaction(java.lang.Exception internalException)
           
static TransactionException errorCommittingExternalTransaction(java.lang.Exception internalException)
           
static TransactionException errorGettingExternalTransaction(java.lang.Exception internalException)
           
static TransactionException errorGettingExternalTransactionStatus(java.lang.Exception internalException)
           
static TransactionException errorMarkingTransactionForRollback(java.lang.Exception internalException)
           
static TransactionException errorObtainingTransactionManager(java.lang.Exception internalException)
           
static TransactionException errorRollingBackExternalTransaction(java.lang.Exception internalException)
           
static TransactionException externalTransactionNotActive()
           
static TransactionException inactiveUnitOfWork(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl unitOfWork)
           
static TransactionException internalProxyException(java.lang.Exception ex1)
           
static TransactionException jndiLookupException(java.lang.String jndiName, java.lang.Exception internalException)
           
static TransactionException multipleResourceException()
           
static TransactionException transactionIsActive()
           
static TransactionException transactionNotActive()
           
 
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getMessage, getSession, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ERROR_DOING_JNDI_LOOKUP

public static final int ERROR_DOING_JNDI_LOOKUP
See Also:
Constant Field Values

ERROR_GETTING_TRANSACTION_STATUS

public static final int ERROR_GETTING_TRANSACTION_STATUS
See Also:
Constant Field Values

ERROR_GETTING_TRANSACTION

public static final int ERROR_GETTING_TRANSACTION
See Also:
Constant Field Values

ERROR_OBTAINING_TRANSACTION_MANAGER

public static final int ERROR_OBTAINING_TRANSACTION_MANAGER
See Also:
Constant Field Values

ERROR_BINDING_TO_TRANSACTION

public static final int ERROR_BINDING_TO_TRANSACTION
See Also:
Constant Field Values

ERROR_BEGINNING_TRANSACTION

public static final int ERROR_BEGINNING_TRANSACTION
See Also:
Constant Field Values

ERROR_COMMITTING_TRANSACTION

public static final int ERROR_COMMITTING_TRANSACTION
See Also:
Constant Field Values

ERROR_ROLLING_BACK_TRANSACTION

public static final int ERROR_ROLLING_BACK_TRANSACTION
See Also:
Constant Field Values

ERROR_MARKING_TRANSACTION_FOR_ROLLBACK

public static final int ERROR_MARKING_TRANSACTION_FOR_ROLLBACK
See Also:
Constant Field Values

ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE

public static final int ERROR_NO_EXTERNAL_TRANSACTION_ACTIVE
See Also:
Constant Field Values

ERROR_INACTIVE_UOW

public static final int ERROR_INACTIVE_UOW
See Also:
Constant Field Values

ERROR_NO_TRANSACTION_ACTIVE

public static final int ERROR_NO_TRANSACTION_ACTIVE
See Also:
Constant Field Values

ERROR_TRANSACTION_IS_ACTIVE

public static final int ERROR_TRANSACTION_IS_ACTIVE
See Also:
Constant Field Values

ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED

public static final int ENTITY_TRANSACTION_WITH_JTA_NOT_ALLOWED
See Also:
Constant Field Values

CANNOT_ENLIST_MULTIPLE_DATASOURCES

public static final int CANNOT_ENLIST_MULTIPLE_DATASOURCES
See Also:
Constant Field Values

EXCEPTION_IN_PROXY_EXECUTION

public static final int EXCEPTION_IN_PROXY_EXECUTION
See Also:
Constant Field Values

ERROR_NO_ENTITY_TRANSACTION_ACTIVE

public static final int ERROR_NO_ENTITY_TRANSACTION_ACTIVE
See Also:
Constant Field Values
Constructor Detail

TransactionException

public TransactionException(java.lang.String message)

TransactionException

public TransactionException(java.lang.String message,
                            java.lang.Exception internalException)
Method Detail

jndiLookupException

public static TransactionException jndiLookupException(java.lang.String jndiName,
                                                       java.lang.Exception internalException)

errorGettingExternalTransactionStatus

public static TransactionException errorGettingExternalTransactionStatus(java.lang.Exception internalException)

errorGettingExternalTransaction

public static TransactionException errorGettingExternalTransaction(java.lang.Exception internalException)

errorBindingToExternalTransaction

public static TransactionException errorBindingToExternalTransaction(java.lang.Exception internalException)

errorBeginningExternalTransaction

public static TransactionException errorBeginningExternalTransaction(java.lang.Exception internalException)

errorCommittingExternalTransaction

public static TransactionException errorCommittingExternalTransaction(java.lang.Exception internalException)

errorRollingBackExternalTransaction

public static TransactionException errorRollingBackExternalTransaction(java.lang.Exception internalException)

errorMarkingTransactionForRollback

public static TransactionException errorMarkingTransactionForRollback(java.lang.Exception internalException)

externalTransactionNotActive

public static TransactionException externalTransactionNotActive()

inactiveUnitOfWork

public static TransactionException inactiveUnitOfWork(org.eclipse.persistence.internal.sessions.UnitOfWorkImpl unitOfWork)

errorObtainingTransactionManager

public static TransactionException errorObtainingTransactionManager(java.lang.Exception internalException)

transactionNotActive

public static TransactionException transactionNotActive()

transactionIsActive

public static TransactionException transactionIsActive()

entityTransactionWithJTANotAllowed

public static TransactionException entityTransactionWithJTANotAllowed()

multipleResourceException

public static TransactionException multipleResourceException()

internalProxyException

public static TransactionException internalProxyException(java.lang.Exception ex1)

entityTransactionNotActive

public static TransactionException entityTransactionNotActive()

EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference