org.eclipse.persistence.exceptions
Class TransactionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.TransactionException
- All Implemented Interfaces:
- java.io.Serializable
public class TransactionException
- extends EclipseLinkException
- See Also:
- Serialized Form
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 |
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
TransactionException
public TransactionException(java.lang.String message)
TransactionException
public TransactionException(java.lang.String message,
java.lang.Exception internalException)
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()