Class TransactionException

    • 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_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)
      • inactiveUnitOfWork

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

        public static TransactionException errorObtainingTransactionManager​(java.lang.Exception internalException)
      • entityTransactionWithJTANotAllowed

        public static TransactionException entityTransactionWithJTANotAllowed()
      • internalProxyException

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